1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

changed from deprecated implicit bare var

This commit is contained in:
Brian Coca 2016-02-08 13:05:19 -05:00
parent 6414c967e4
commit ba51ed06cf

View file

@ -67,7 +67,7 @@
region: 'us-east-1'
instance_ids: "{{ hostvars[item]['ec2_instance_ids'] }}"
when: hostvars[item]['ec2_instance_ids'] is defined and item == inventory_hostname
with_items: groups['dynamic_hosts']
with_items: "{{groups['dynamic_hosts']}}"
- set_fact:
ansible_connection: local