Table of Contents

Ansible debug one variable

- name: Debug the foo variable
  debug:
      var: "foo"

Debug nested variable

- name: Debug nested variable
  debug:
      var: "foo['test1']['what']"

Tested on

See also

References