📜  [?contains(`{@)] ansible jinja2 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:10.452000             🧑  作者: Mango

代码示例1
- 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(', ') }}"