mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
What is going on here
This commit is contained in:
parent
26e5bcdb39
commit
78dde62710
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,8 @@
|
||||||
- name: Wait a little longer for centos
|
- name: Wait a little longer for centos
|
||||||
pause: seconds=20
|
pause: seconds=20
|
||||||
|
|
||||||
|
- debug: var=ec2.results
|
||||||
|
|
||||||
- name: Add hosts group temporary inventory group with pem path
|
- name: Add hosts group temporary inventory group with pem path
|
||||||
add_host:
|
add_host:
|
||||||
name: "{{ item.1.platform }}-{{ ec2.results[item.0]['instances'][0]['public_ip'] }}"
|
name: "{{ item.1.platform }}-{{ ec2.results[item.0]['instances'][0]['public_ip'] }}"
|
||||||
|
|
Loading…
Reference in a new issue