Hi All,
I have a playbook ran and got desired below output. Could anyone please
help me how to iterate and get the Fan block which status is degraded.
TASK [debug] *******************
task path: /home/dev/test.yml:13
ok: [localhost] => {
"msg": {
"Fan Block 1": {
"label": "Fan Block 1",
"speed": [
94,
"Percentage"
],
"status": "OK",
"zone": "System"
},
"Fan Block 2": {
"label": "Fan Block 2",
"speed": [
94,
"Percentage"
],
"status": "Degraded",
"zone": "System"
},
"Fan Block 3": {
"label": "Fan Block 3",
"speed": [
94,
"Percentage"
],
"status": "OK",
"zone": "System"
},
}
}
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/4a024729-2eba-4523-ac8f-6733cb4d10d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.