Tips and quirks with ansible
Recently I’m playing a lot with Ansible.
Some handy commands
ansible all -m command -a "uptime"
ansible all -i hosts -m setup
Install nginx
ansible all -i hosts -m yum "name=nginx state=present" -s
Deinstall it again
ansible all -i hosts -m yum "name=nginx state=absent" -s Tags
Computerz nginx ansible