{{tag>ansible}} ====== 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 ====== * [[wiki:ansible_debug_all_variables| Debug all variables]] * [[wiki:ansible_troubleshooting|ansible troubleshooting]] ====== References ======