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:
parent
6414c967e4
commit
ba51ed06cf
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@
|
||||||
region: 'us-east-1'
|
region: 'us-east-1'
|
||||||
instance_ids: "{{ hostvars[item]['ec2_instance_ids'] }}"
|
instance_ids: "{{ hostvars[item]['ec2_instance_ids'] }}"
|
||||||
when: hostvars[item]['ec2_instance_ids'] is defined and item == inventory_hostname
|
when: hostvars[item]['ec2_instance_ids'] is defined and item == inventory_hostname
|
||||||
with_items: groups['dynamic_hosts']
|
with_items: "{{groups['dynamic_hosts']}}"
|
||||||
|
|
||||||
- set_fact:
|
- set_fact:
|
||||||
ansible_connection: local
|
ansible_connection: local
|
||||||
|
|
Loading…
Add table
Reference in a new issue