just use public_ip in creating gce temporary waitfor hosts (#1646)
* just use public_ip in creating gce temporary waitfor hosts * Update create-gce.yml
This commit is contained in:
parent
aaa27d0a34
commit
975accbe1d
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@
|
|||
register: gce
|
||||
|
||||
- name: Add instances to host group
|
||||
add_host: hostname={{item.public_ip}} groupname="waitfor_hosts"
|
||||
add_host: hostname={{item.public_ip}} groupname="waitfor_hosts"
|
||||
with_items: '{{gce.instance_data}}'
|
||||
|
||||
- name: Template the inventory
|
||||
|
|
Loading…
Reference in a new issue