# debug.yml - name: Debug all variables hosts: servers tasks: - debug: var: hostvars[inventory_hostname]