User Tools

Site Tools


wiki:ansible_debug_one_variable

This is an old revision of the document!


Ansible debug one variable

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

Debug nested variable

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

Tested on

  • ansible 2.8.20

See also

References

wiki/ansible_debug_one_variable.1649667588.txt.gz · Last modified: 2022/04/11 10:59 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki