--- - name: Display facts hosts: all tasks: - name: Display all known host facts ansible.builtin.debug: var: ansible_facts