User Tools

Site Tools


wiki:ansible_debug_one_variable

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.txt · 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