- hosts: test-hosts tasks: - block: - name: Test Block command: /bin/false tags: notworking - name: Test Block 2 command: /bin/true tags: working rescue: - debug: msg="error error error" always: - debug: msg="always always always"