User Tools

Site Tools


wiki:ansible_debug_one_variable

This is an old revision of the document!


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

  • ansible 2.8.20

See also

References

wiki/ansible_debug_one_variable.1678790105.txt.gz · Last modified: 2023/03/14 11:35 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