update the requirement.txt to ansible 2.x

parent ff8de8fb
......@@ -5,10 +5,14 @@
- name: lookup tags for terminating existing instance
local_action:
module: ec2_lookup
region: "{{ region }}"
tags:
- Name: "{{ name_tag }}"
# module: ec2_lookup
# region: "{{ region }}"
# tags:
# - Name: "{{ name_tag }}"
module: ec2_remote_facts:
filters:
instance-state-name: running
"tag:Name": "{{ name_tag }}"
register: tag_lookup
when: terminate_instance == true
......
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