--- - hosts: all tasks: - name: Debug ansible.builtin.debug: var: ansible_hostname