- name: print facts hosts: all tasks: - name: print debug: var: ansible_facts