- hosts: test-hosts tasks: - block: - name: Test Block command: /bin/false tags: gehtnicht - name: Test Block 2 command: /bin/true tags: geht rescue: - debug: msg="Fehler Fehler Fehler" always: - debug: msg="Immer Immer Immer"