Created
May 22, 2014 10:05
-
-
Save vialde/bb2b3c870772d32b879a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vars: | |
ec2_tags: " deployment: {{ lookup('env','ANSIBLE_DEPLOYMENT') }} " | |
tasks: | |
- name: Launch instance | |
local_action: ec2 keypair={{keypair}} instance_profile_name={{instance_profile_name}} group={{security_group}} region={{aws_region}} instance_type={{instance_type}} image={{image}} wait=yes count={{instance_count}} instance_tags="{ {{ec2_tags}} }" | |
register: ec2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment