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:
@ -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
|
||||
|
Reference in New Issue
Block a user