📅  最后修改于: 2022-03-11 14:55:10.452000             🧑  作者: Mango
- 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(', ') }}"