Skip to content

Instantly share code, notes, and snippets.

@aleixripoll
aleixripoll / ansible-tips.md
Last active April 1, 2017 10:46
Ansible tips

Playbook useful switches:

ansible-playbook -C -D -i <inventory> [-u <ssh-user>] [-t tag1,tag2] [--list-hosts] [-l host1,host2] play.yml

-C check_mode
-D show file diffs

Ad-hoc commands: