[?contains(`{@)] ansible jinja2 code example
Example: [?contains(`{@)] ansible jinja2
- name: Display all ports from cluster1 as a string
ansible.builtin.debug:
msg: "{{ domain_definition | community.general.json_query('domain.server[?cluster==`cluster1`].port') | join(', ') }}"