summaryrefslogtreecommitdiffstats
path: root/playbooks/gce/openshift-cluster/tasks
diff options
context:
space:
mode:
authorChengcheng Mu <chengcheng.mu@amadeus.com>2015-10-09 16:27:25 +0200
committerChengcheng Mu <chengcheng.mu@amadeus.com>2015-10-09 16:27:25 +0200
commita8171a639bd4500f30e72233587e9f6335202438 (patch)
tree2b44aff20d9f82e0a8af124f4d45a4632677e328 /playbooks/gce/openshift-cluster/tasks
parent46f10c87930747d7e10cfc2c3b71ea68da647135 (diff)
downloadopenshift-a8171a639bd4500f30e72233587e9f6335202438.tar.gz
openshift-a8171a639bd4500f30e72233587e9f6335202438.tar.bz2
openshift-a8171a639bd4500f30e72233587e9f6335202438.tar.xz
openshift-a8171a639bd4500f30e72233587e9f6335202438.zip
Adding second param. true to many default filters
Diffstat (limited to 'playbooks/gce/openshift-cluster/tasks')
-rw-r--r--playbooks/gce/openshift-cluster/tasks/launch_instances.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/playbooks/gce/openshift-cluster/tasks/launch_instances.yml b/playbooks/gce/openshift-cluster/tasks/launch_instances.yml
index b07982305..e300b5b5a 100644
--- a/playbooks/gce/openshift-cluster/tasks/launch_instances.yml
+++ b/playbooks/gce/openshift-cluster/tasks/launch_instances.yml
@@ -32,11 +32,11 @@
groups: "{{ item.tags | oo_prepend_strings_in_list('tag_') | join(',') }}"
gce_public_ip: "{{ item.public_ip }}"
gce_private_ip: "{{ item.private_ip }}"
- with_items: gce.instance_data | default([])
+ with_items: gce.instance_data | default([], true)
- name: Wait for ssh
wait_for: port=22 host={{ item.name }}
- with_items: gce.instance_data | default([])
+ with_items: gce.instance_data | default([], true)
- name: Wait for user setup
command: "ssh -o StrictHostKeyChecking=no -o PasswordAuthentication=no -o ConnectTimeout=10 -o UserKnownHostsFile=/dev/null {{ hostvars[item.name].ansible_ssh_user }}@{{ item.public_ip }} echo {{ hostvars[item.name].ansible_ssh_user }} user is setup"
@@ -44,4 +44,4 @@
until: result.rc == 0
retries: 30
delay: 5
- with_items: gce.instance_data | default([])
+ with_items: gce.instance_data | default([], true)