--- - hosts: localhost tasks: - name: Example of multi-level block block: - name: 2nd level block: - ansible.builtin.debug: # noqa: name[missing] msg: "test unnamed task in block"