summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/roles
diff options
context:
space:
mode:
authorLénaïc Huard <lhuard@amadeus.com>2016-02-09 18:02:59 +0100
committerLénaïc Huard <lhuard@amadeus.com>2016-02-09 18:02:59 +0100
commit850a91fdec392f7bbca79065c2f191df640de1c3 (patch)
tree862ecc0f88f1fc35dde0c63bc29d0325f9546b91 /playbooks/common/openshift-cluster/roles
parentd148f0a39665d7528b854515257aa45ec6739230 (diff)
downloadopenshift-850a91fdec392f7bbca79065c2f191df640de1c3.tar.gz
openshift-850a91fdec392f7bbca79065c2f191df640de1c3.tar.bz2
openshift-850a91fdec392f7bbca79065c2f191df640de1c3.tar.xz
openshift-850a91fdec392f7bbca79065c2f191df640de1c3.zip
Better structure the output of the list playbook
The list playbook listed the IPs of the VMs without logging their role like: ``` PLAY [List instance(s)] ******************************************************* TASK: [debug ] **************************************************************** ok: [lenaic-node-compute-cd81b] => { "msg": "public ip: 104.155.50.164 private ip:10.55.0.49" } ok: [lenaic-master-9e767] => { "msg": "public ip: 104.155.47.180 private ip:10.55.0.113" } ok: [lenaic-node-infra-ab7c8] => { "msg": "public ip: 104.155.11.34 private ip:10.55.0.131" } ``` The list playbook now prints the information in a more structured way like: ``` PLAY [List Hosts] ************************************************************* TASK: [debug ] **************************************************************** ok: [localhost] => { "msg": { "lenaic": { "master": { "default": [ { "name": "lenaic-master-9e767", "private IP": "10.55.0.113", "public IP": "104.155.47.180" } ] }, "node": { "compute": [ { "name": "lenaic-node-compute-cd81b", "private IP": "10.55.0.49", "public IP": "104.155.50.164" } ], "infra": [ { "name": "lenaic-node-infra-ab7c8", "private IP": "10.55.0.131", "public IP": "104.155.11.34" } ] } } } } ``` This change of the output of the list playbook was previously done for OpenStack and libvirt in 332aa8c (#461). This change makes the GCE output identical to OpenStack and libvirt’s one.
Diffstat (limited to 'playbooks/common/openshift-cluster/roles')
0 files changed, 0 insertions, 0 deletions