summaryrefslogtreecommitdiffstats
path: root/playbooks/gce/openshift-cluster/list.yml
diff options
context:
space:
mode:
authorThomas Wiest <twiest@users.noreply.github.com>2015-10-05 09:26:52 -0400
committerThomas Wiest <twiest@users.noreply.github.com>2015-10-05 09:26:52 -0400
commit7918909dc7c6877a4ce2b9fab830d0c41c1c92fd (patch)
tree5dc2cb028bddf76e98ff53d333535212d6fd8b3b /playbooks/gce/openshift-cluster/list.yml
parentc443f3fc1b901b72a58e0e28b5a280cec205cbbd (diff)
parent59fb7879501d702bb78a1d79326408b115a63c90 (diff)
downloadopenshift-7918909dc7c6877a4ce2b9fab830d0c41c1c92fd.tar.gz
openshift-7918909dc7c6877a4ce2b9fab830d0c41c1c92fd.tar.bz2
openshift-7918909dc7c6877a4ce2b9fab830d0c41c1c92fd.tar.xz
openshift-7918909dc7c6877a4ce2b9fab830d0c41c1c92fd.zip
Merge pull request #641 from menren/gce-support
GCE support
Diffstat (limited to 'playbooks/gce/openshift-cluster/list.yml')
-rw-r--r--playbooks/gce/openshift-cluster/list.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/playbooks/gce/openshift-cluster/list.yml b/playbooks/gce/openshift-cluster/list.yml
index 5ba0f5a48..f5f89baf0 100644
--- a/playbooks/gce/openshift-cluster/list.yml
+++ b/playbooks/gce/openshift-cluster/list.yml
@@ -14,11 +14,11 @@
groups: oo_list_hosts
ansible_ssh_user: "{{ deployment_vars[deployment_type].ssh_user | default(ansible_ssh_user, true) }}"
ansible_sudo: "{{ deployment_vars[deployment_type].sudo }}"
- with_items: groups[scratch_group] | default([]) | difference(['localhost']) | difference(groups.status_terminated)
+ with_items: groups[scratch_group] | default([]) | difference(['localhost']) | difference(groups.status_terminated | default([]))
- name: List instance(s)
hosts: oo_list_hosts
gather_facts: no
tasks:
- debug:
- msg: "public ip:{{ hostvars[inventory_hostname].gce_public_ip }} private ip:{{ hostvars[inventory_hostname].gce_private_ip }}"
+ msg: "private ip:{{ hostvars[inventory_hostname].gce_private_ip }}"