This will copy the file specified in src to the location specified in dest across all nodes.
ansible all -m copy -a “src=/home/vtom/ansibleProject01/notes.txt dest=/home/Ansible/notes.txt”
This will show useful ansible config including the version and location of the config file:
ansible –version
Create sample ansible configuration with comments
ansible-config init –disabled > /etc/ansible/ansible.cfg
Check connectivity from ansible to hosts defined in inventory
ansible [all|IP|group] -m ping -v
This will list out the Ansible modules installed on the local machine
ansible-doc -l
