parent
59d7ce6c3b
commit
dae5564e2b
|
@ -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…
Reference in New Issue