parent
59d7ce6c3b
commit
dae5564e2b
1 changed files with 5 additions and 5 deletions
|
@ -234,10 +234,10 @@ rest.
|
||||||
register: instance
|
register: instance
|
||||||
|
|
||||||
- name: Wait for SSH to come up
|
- 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
|
- 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
|
- name: Manage new instances
|
||||||
|
|
Loading…
Reference in a new issue