--- - name: connection test hosts: all tasks: - name: debug ansible.builtin.debug: var: ansible_connection