I m having a file like:
{
"account": "/system1/test",
"description": "",
"desired_state": "active",
"id": "f957e20c-0033-4523-9020-e31304401149",
"status": "active",
"tags": [],
"time_audited": "2018-01-14T23:12:22Z",
"time_created": "2018-01-14T22:34:53Z",
"time_updated": null
}
When I try to get a value out as:
with_items: "{{orch_details.content|from_json|json_query('status')}}"
Everything is fine.
I want to extract several other values but I can't combine them to the json_query
like:
with_items: "{{orch_details.content|from_json|json_query('status, account, description')}}"
What is wrong with my syntax?