Commit 51894b9d by Kevin Falcone

Use the newer ec2 module

parent 209f2d5a
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
- name: terminating single instance - name: terminating single instance
local_action: local_action:
module: ec2 module: ec2_2_1_1_0
state: 'absent' state: 'absent'
region: "{{ region }}" region: "{{ region }}"
instance_ids: "{{tag_lookup.instance_ids}}" instance_ids: "{{tag_lookup.instance_ids}}"
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
- name: Launch ec2 instance - name: Launch ec2 instance
local_action: local_action:
module: ec2 module: ec2_2_1_1_0
keypair: "{{ keypair }}" keypair: "{{ keypair }}"
group: "{{ security_group }}" group: "{{ security_group }}"
instance_type: "{{ instance_type }}" instance_type: "{{ instance_type }}"
......
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