1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

fix typo in new jsonquery filter example that uses backticks (#29082)

This commit is contained in:
jhawkesworth 2017-09-08 00:51:36 +01:00 committed by scottb
parent 52f2edf19d
commit 3d5320adad

View file

@ -291,7 +291,7 @@ Or, alternatively::
- name: "Display all server names from cluster1"
debug:
var: item
with_items: "{{domain_definition|json_query('domain.server[?cluster=`cluster`].port')}}"
with_items: "{{domain_definition|json_query('domain.server[?cluster=`cluster1`].port')}}"
.. note:: Here, quoting literals using backticks avoids escaping quotes and maintains readability.