Skip to content

Instantly share code, notes, and snippets.

@tgerla
Last active August 29, 2015 14:14
Show Gist options
  • Save tgerla/64874c256d99b160b1ed to your computer and use it in GitHub Desktop.
Save tgerla/64874c256d99b160b1ed to your computer and use it in GitHub Desktop.
# define these as empty groups
[tag_Name_mysql]
...
[mysql:children]
tag_Name_mysql
------------------------------------------
Make a dir called inv/
inv/
inv/hosts
inv/ec2.py
inv/ec2.ini
Then run your playbooks like this:
ansible-playbook -i inv/ ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment