Hello,
I am struggling with this kind of structure :
{
“out.results”: [
{
“_ansible_item_result”: true,
“_ansible_no_log”: false,
“_ansible_parsed”: true,
“changed”: false,
“exitcode”: “NoChangeNeeded”,
“feature_result”: ,
“item”: “A”,
“restart_needed”: false,
“success”: true
},
{
“_ansible_item_result”: true,
“_ansible_no_log”: false,
“_ansible_parsed”: true,
“changed”: false,
“exitcode”: “NoChangeNeeded”,
“feature_result”: ,
“item”: “B”,
“restart_needed”: false,
“success”: true
},
{
“_ansible_item_result”: true,
“_ansible_no_log”: false,
“_ansible_parsed”: true,
“changed”: false,
“exitcode”: “NoChangeNeeded”,
“feature_result”: ,
“item”: “C”,
“restart_needed”: false,
“success”: true
},
{
“_ansible_item_result”: true,
“_ansible_no_log”: false,
“_ansible_parsed”: true,
“changed”: false,
“exitcode”: “NoChangeNeeded”,
“feature_result”: ,
“item”: “D”,
“restart_needed”: true,
“success”: true
}
]
}
And I want to catch if restart_needed is true … any help is welcome.
Regards