Print variable results

- name: Print output from a variable results using jinja
  debug:
    msg: "{% for result in ocp_etcd_cert_file.results %}
            {{ result.stdout }}
          {% endfor %}"

- name: Another way to print a variable results
  debug:
    msg: "{{ ocp_etcd_cert_file.results | map(attribute='stdout') | list }}"
Previous