Answers for "[?contains(`{@)] ansible jinja2"

0

[?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(', ') }}"
Posted by: Guest on June-07-2021

Browse Popular Code Answers by Language