diff options
author | Lénaïc Huard <lhuard@amadeus.com> | 2016-02-09 18:02:59 +0100 |
---|---|---|
committer | Lénaïc Huard <lhuard@amadeus.com> | 2016-02-09 18:02:59 +0100 |
commit | 850a91fdec392f7bbca79065c2f191df640de1c3 (patch) | |
tree | 862ecc0f88f1fc35dde0c63bc29d0325f9546b91 /roles/openshift_node_certificates | |
parent | d148f0a39665d7528b854515257aa45ec6739230 (diff) | |
download | openshift-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 'roles/openshift_node_certificates')
0 files changed, 0 insertions, 0 deletions