Browse Source

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
pull/1672/head
Matthew Mosesohn 7 years ago
committed by GitHub
parent
commit
975accbe1d
1 changed files with 1 additions and 1 deletions
  1. 2
      tests/cloud_playbooks/create-gce.yml

2
tests/cloud_playbooks/create-gce.yml

@ -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…
Cancel
Save