Say I have a json object like this:
{
"results": [
{
"failed": "no",
"data": "another string"
},
"failed": "no",
"skipped": true
}
}
Is there a way to strip the json of any object that has "skipped" defined in an ansible playbook? So I would just have
{
"results": [
{
"failed": "no",
"data": "another string"
}
}