Skip to content

Instantly share code, notes, and snippets.

@murillodigital
Created September 17, 2015 14:32
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 murillodigital/9ef3ab9830321e12a47f to your computer and use it in GitHub Desktop.
Save murillodigital/9ef3ab9830321e12a47f to your computer and use it in GitHub Desktop.
---
ec2_hosts:
- zone: us-west-1c
count: 3
- zone: us-east-1a
count: 1
---
- name: Create hosts
ec2:
count: "{{ item.count }}"
zone: "{{ item.zone }}"
with_items:
- {{ ec2_hosts }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment