Вопрос по json_query
Имею:
{'results': [
{'msg': 'puppet.service is stopped', 'failed': False, 'changed': False, 'item': 'puppet.service', 'ansible_loop_var': 'item'},
{'msg': 'zabbix-agent.service is running', 'failed': False, 'changed': False, 'item': 'zabbix-agent.service', 'ansible_loop_var': 'item'},
{'msg': 'HitachiHDS.service is unknown', 'failed': False, 'changed': False, 'item': 'HitachiHDS.service', 'ansible_loop_var': 'item'},
...
], 'msg': 'All items completed', 'changed': False}
Пытаюсь выгребать:
STATUS: "{{ STAT1 | json_query('results.msg') }}"
Хочу получить результат:
puppet.service is stopped, zabbix-agent.service is running, HitachiHDS.service is unknown
но получаю пусто