Skip to content

Instantly share code, notes, and snippets.

@git001
Created August 31, 2016 15:38
Show Gist options
  • Select an option

  • Save git001/dab97d7d12a53edfcf2a69647ad543b7 to your computer and use it in GitHub Desktop.

Select an option

Save git001/dab97d7d12a53edfcf2a69647ad543b7 to your computer and use it in GitHub Desktop.
Output of a ansible run
TASK [ingress_add : Print ingress hostnames] ***********************************
ok: [<HOSTNAME>] => {
"check_router": {
"changed": true,
"failed": true,
"msg": "One or more items failed",
"results": [
{
"_ansible_item_result": true,
"_ansible_no_log": false,
"changed": true,
"cmd": "oc get dc -n default customer-1_prod_ht-internal-shared",
"delta": "0:00:00.240360",
"end": "2016-08-31 17:25:29.370984",
"failed": true,
"invocation": {
"module_args": {
"_raw_params": "oc get dc -n default customer-1_prod_ht-internal-shared",
"_uses_shell": true,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"warn": true
},
"module_name": "command"
},
"item": {
"elb": {
"security_groups": [
{
"inbound_rules": "",
"name": "OP-ELB-ROUTER",
"outbound_rules": ""
}
]
},
"health_port": 14196,
"hosts": [
{
"hostname": "ip-10-191-0-111.aws-zone-1.compute.internal",
"instance_id": "i-a"
},
{
"hostname": "ip-10-191-0-112.aws-zone-1.compute.internal",
"instance_id": "i-b"
}
],
"http_port": 1480,
"https_port": 14443,
"no_sni_port": 14444,
"sni_port": 14445,
"type": "internal-shared"
},
"rc": 1,
"start": "2016-08-31 17:25:29.130624",
"stderr": "Error from server: deploymentconfigs \"customer-1_prod_ht-internal-shared\" not found",
"stdout": "",
"stdout_lines": [],
"warnings": []
},
{
"_ansible_item_result": true,
"_ansible_no_log": false,
"changed": true,
"cmd": "oc get dc -n default customer-1_prod_ht-external-shared",
"delta": "0:00:00.229878",
"end": "2016-08-31 17:25:30.297865",
"failed": true,
"invocation": {
"module_args": {
"_raw_params": "oc get dc -n default customer-1_prod_ht-external-shared",
"_uses_shell": true,
"chdir": null,
"creates": null,
"executable": null,
"removes": null,
"warn": true
},
"module_name": "command"
},
"item": {
"elb": {
"security_groups": [
{
"inbound_rules": "",
"name": "OP-ELB-ROUTER",
"outbound_rules": ""
}
]
},
"health_port": 10196,
"hosts": [
{
"hostname": "ip-10-191-0-111.aws-zone-1.compute.internal",
"instance_id": "i-a"
},
{
"hostname": "ip-10-191-0-112.aws-zone-1.compute.internal",
"instance_id": "i-b"
}
],
"http_port": 1080,
"https_port": 10443,
"no_sni_port": 10444,
"sni_port": 10445,
"type": "external-shared"
},
"rc": 1,
"start": "2016-08-31 17:25:30.067987",
"stderr": "Error from server: deploymentconfigs \"customer-1_prod_ht-external-shared\" not found",
"stdout": "",
"stdout_lines": [],
"warnings": []
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment