homelab_automation/ansible/playbooks/ntfy-test-error.yml

15 lines
348 B
YAML

---
- 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 }}"