Commit 3f7f9ec5 by John Eskew

Change with_items statements.

parent a42d5f58
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
- name: Debug EC2 instance attributes - name: Debug EC2 instance attributes
debug: debug:
var: item var: item
with_items: ec2.instances with_items: "{{ ec2.instances }}"
- name: Add DNS name - name: Add DNS name
local_action: local_action:
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
ttl: 300 ttl: 300
record: "{{ dns_name }}.{{ dns_zone }}" record: "{{ dns_name }}.{{ dns_zone }}"
value: "{{ item.public_dns_name }}" value: "{{ item.public_dns_name }}"
with_items: ec2.instances with_items: "{{ ec2.instances }}"
- name: Add DNS names for services - name: Add DNS names for services
local_action: local_action:
......
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