mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-06 10:40:32 -07:00
[PR #9788/bb2c45b5 backport][stable-8] json_query filter docs: fix typo cluster2 when cluster1 is mentioned (#9791)
json_query filter docs: fix typo cluster2 when cluster1 is mentioned (#9788)
Typo cluster2 but cluster1 is mentioned
(cherry picked from commit bb2c45b5bb
)
Co-authored-by: Kloppi313 <36038231+Kloppi313@users.noreply.github.com>
This commit is contained in:
parent
c39deafa32
commit
30c52028cb
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ To get a hash map with all ports and names of a cluster:
|
|||
var: item
|
||||
loop: "{{ domain_definition | community.general.json_query(server_name_cluster1_query) }}"
|
||||
vars:
|
||||
server_name_cluster1_query: "domain.server[?cluster=='cluster2'].{name: name, port: port}"
|
||||
server_name_cluster1_query: "domain.server[?cluster=='cluster1'].{name: name, port: port}"
|
||||
|
||||
To extract ports from all clusters with name starting with 'server1':
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue