http://wall-skills.com/2014/ansible-cheat-sheet/
https://support.ansible.com/hc/en-us/articles/201958037-Reboot-a-server-and-wait-for-it-to-come-back
ansible all -i ./hosts -m setup
use the --check
option
use the --list-hosts
option
ansible-playbook -i production webservers.yml --tags ntp --list-tasks
ansible webservers -m yum -a "name=acme state=present"
ansible atlanta -m copy -a "src=/etc/hosts dest=/tmp/hosts"
ansible webservers -m service -a "name=httpd state=started"
ansible boston -i production -m command -a '/sbin/reboot'
mkpasswd --method=SHA-512
ansible-playbook example.yml --tags "configuration,packages"
ansible-playbook example.yml --skip-tags "notification"