mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 18:50:21 -07:00
parent
59d7ce6c3b
commit
dae5564e2b
1 changed files with 5 additions and 5 deletions
|
@ -234,10 +234,10 @@ rest.
|
|||
register: instance
|
||||
|
||||
- name: Wait for SSH to come up
|
||||
wait_for: host={{ instance.address }} port=22 delay=10 timeout=60
|
||||
wait_for: host={{ address.address }} port=22 delay=10 timeout=60
|
||||
|
||||
- name: Add host to groupname
|
||||
add_host: hostname={{ instance.address }} groupname=new_instances
|
||||
add_host: hostname={{ address.address }} groupname=new_instances
|
||||
|
||||
|
||||
- name: Manage new instances
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue