Commit 81360279 by John Jarvis

using jinja style args

parent a2bf90e3
......@@ -8,6 +8,7 @@
security_group: sandbox
image: ami-d0f89fb9
region: us-east-1
instance_tags: '{"disposable": "true"}'
roles:
- launch_instance
......
......@@ -8,13 +8,13 @@
- name: Launch instance
local_action:
module: ec2
keypair: $keypair
group: $security_group
instance_type: $instance_type
image: $image
keypair: "{{keypair}}"
group: "{{security_group}}"
instance_type: "{{instance_type}}"
image: "{{image}}"
wait: true
region: $region
instance_tags: $instance_tags
region: "{{region}}"
instance_tags: "{{instance_tags}}"
register: ec2
- name: Wait for SSH to come up
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment