ANSIBLE We are introducing in our blog ANSIBLE in order to help to the community. Create a Inventory File with the server list called "TEST" $cat inventory [TEST] server1 server2 server3 server4 server5 And now we can use our ansible scripts ANSIBLE COPY A FILE TO SERVERS LIST IN THE INVENTORY --- - name: upload a file to server list hosts: TEST tasks: - name: copy a file copy -a "src=/home/user1/ansible/p25739822_81617613_SOLARIS64.zip dest=/tmp" ANSIBLE COPY A FILE AND UNCOMPRESS A FILE --- - name: upload a file to a server list a uncompress the file hosts: server1 server3 server4 <----- You can use the server list with spaces tasks: - name: cambia directorio y descomprime unarchive: src=/tmp/p25739822_81617613_SOLARIS64.zip dest=/tmp/ copy=no ANSIBLE CHANGE A LINE IN FILE (IN THIS CASE /etc/hosts file) --- - name: modify line hosts: TEST tasks: - name: Replace the
The Oracle, Unix and Technology World