- hosts: windows gather_facts: true tasks: - debug: var: ansible_facts