--- - name: NTFY test playbook (error) hosts: all gather_facts: false become: false vars: category: notifications subcategory: ntfy-test tasks: - name: Simulate a failing operation (for NTFY error notifications) ansible.builtin.fail: msg: "NTFY test playbook: simulated error on host {{ inventory_hostname }}"