create password less login to remote machines
cd /mnt/ansible
These commands only work in this directory or with full paths
ansible-inventory -i inventory.ini --list
Lists the current inventory
ansible-playbook -i inventory.ini debian_update.yml --become-password-file '/mnt/ansible/password.yml'
ansible all -m gather_facts -i inventory.ini --tree /tmp/facts
ansible all -i inventory.ini -m ping -u user
ansible -i inventory.ini kpts -a “ls -la ~” -u user
ansible -i inventory.ini kpts -a “df -h” -u user
ansible all -i inventory.ini -a “df -h” -u user