summaryrefslogtreecommitdiffstats
path: root/playbooks/openstack/openshift-cluster
diff options
context:
space:
mode:
authorThomas Wiest <twiest@users.noreply.github.com>2015-11-16 09:37:37 -0500
committerThomas Wiest <twiest@users.noreply.github.com>2015-11-16 09:37:37 -0500
commitf33f2d789c58e334449060ce532d7a2785f79e7c (patch)
tree789547c74ed312918a98490ca54fe12f9ce390bd /playbooks/openstack/openshift-cluster
parent7274d4379f6438d80a840bf6fc0b017b57e6595c (diff)
parent3c560d4a589cb7c7144f25468e0c7d2d0768853d (diff)
downloadopenshift-f33f2d789c58e334449060ce532d7a2785f79e7c.tar.gz
openshift-f33f2d789c58e334449060ce532d7a2785f79e7c.tar.bz2
openshift-f33f2d789c58e334449060ce532d7a2785f79e7c.tar.xz
openshift-f33f2d789c58e334449060ce532d7a2785f79e7c.zip
Merge pull request #461 from lhuard1A/prettify_list_output
Better structure the output of the list playbook
Diffstat (limited to 'playbooks/openstack/openshift-cluster')
-rw-r--r--playbooks/openstack/openshift-cluster/list.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/playbooks/openstack/openshift-cluster/list.yml b/playbooks/openstack/openshift-cluster/list.yml
index a75e350c7..fa194b072 100644
--- a/playbooks/openstack/openshift-cluster/list.yml
+++ b/playbooks/openstack/openshift-cluster/list.yml
@@ -19,6 +19,12 @@
- name: List Hosts
hosts: oo_list_hosts
+
+- name: List Hosts
+ hosts: localhost
+ gather_facts: no
+ vars_files:
+ - vars.yml
tasks:
- debug:
- msg: 'public:{{ansible_ssh_host}} private:{{ansible_default_ipv4.address}}'
+ msg: "{{ hostvars | oo_select_keys(groups[scratch_group] | default([])) | oo_pretty_print_cluster }}"