Commit 81360279 by John Jarvis

using jinja style args

parent a2bf90e3
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
security_group: sandbox security_group: sandbox
image: ami-d0f89fb9 image: ami-d0f89fb9
region: us-east-1 region: us-east-1
instance_tags: '{"disposable": "true"}'
roles: roles:
- launch_instance - launch_instance
......
...@@ -8,13 +8,13 @@ ...@@ -8,13 +8,13 @@
- name: Launch instance - name: Launch instance
local_action: local_action:
module: ec2 module: ec2
keypair: $keypair keypair: "{{keypair}}"
group: $security_group group: "{{security_group}}"
instance_type: $instance_type instance_type: "{{instance_type}}"
image: $image image: "{{image}}"
wait: true wait: true
region: $region region: "{{region}}"
instance_tags: $instance_tags instance_tags: "{{instance_tags}}"
register: ec2 register: ec2
- name: Wait for SSH to come up - 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