Skip to content

Instantly share code, notes, and snippets.

@rockstar
Last active December 22, 2015 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rockstar/6490131 to your computer and use it in GitHub Desktop.
Save rockstar/6490131 to your computer and use it in GitHub Desktop.
sites:
- name: example1.com
db: example1
- name: example2.com
db: example2
- include: subplaybook.yml site={{item}}
with_items: sites
- command: mkdir -p /var/sites/{{ site.name }} creates=/var/sites/{{ site.name }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment