--- - name: "Gather ansible_facts" hosts: all gather_facts: yes become: true # collections: # - ansible.posix tasks: - name: "msg print to stdout: Debug ansible_facts" debug: msg: - "{{ ansible_facts }}"