mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 18:50:21 -07:00
fix typo in new jsonquery filter example that uses backticks (#29082)
This commit is contained in:
parent
52f2edf19d
commit
3d5320adad
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ Or, alternatively::
|
||||||
- name: "Display all server names from cluster1"
|
- name: "Display all server names from cluster1"
|
||||||
debug:
|
debug:
|
||||||
var: item
|
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.
|
.. note:: Here, quoting literals using backticks avoids escaping quotes and maintains readability.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue