mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-28 09:39:12 +03:00
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
|
register: gce
|
||||||
|
|
||||||
- name: Add instances to host group
|
- 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}}'
|
with_items: '{{gce.instance_data}}'
|
||||||
|
|
||||||
- name: Template the inventory
|
- name: Template the inventory
|
||||||
|
|||||||
Reference in New Issue
Block a user