1,760
edits
Changes
→Key Concepts when using Ansible
* Ad hoc commands
** <u><b>shell commands</b></u>
*** ansible 192.168.99.153 -a 'date'*** ansible 192.168.99.153 -a 'df' *** ansible 192.168.99.153 -a 'iptables -L -n -v' -u root** <u><b>copy module</b></u>
** ansible 192.169.99.153 -m copy -a "src=/ops435/ansible.txt dest=/tmp/ansible.txt"
** ansible 192.168.99.153 -m yum -a "name=epel-release state=latest"