--- - name: demonstrate hostvars magic var hosts: server become: true tasks: - debug: msg: '{{ hostvars }}'