Json – Extracting data from nested dict in ansible with conditional checks in the list?
I'm stuck with the following issue. My JSON data looks like this: [ { "clusters":[ { "id":"1", "name":"cluster1" }, { "id":"2", "name":"cluster2" } ], "tag":"a" }, { "clusters":[ { "id":"3", "name":"cluster2" } ], "tag":"b" } ] What I am trying…