fix: notifications priority

This commit is contained in:
2026-06-08 07:54:44 +00:00
parent e96b437df7
commit e95cfeccb3

View File

@@ -33,7 +33,7 @@
body: No updates have been rolled out
headers:
Title: "Proxmox Not Ready for Updates"
Priority: "5"
Priority: "default"
Tags: "x"
delegate_to: localhost
become: false
@@ -143,7 +143,7 @@
body: Update failed on {{ inventory_hostname_short }}
headers:
Title: "Proxmox VE Update Failed"
Priority: "5"
Priority: "high"
Tags: "x"
delegate_to: localhost
become: false
@@ -186,7 +186,7 @@
{% endif %}
headers:
Title: "Proxmox VE Update Report"
Priority: "{{ '2' if not updates_performed else '3' }}"
Priority: "{{ 'min' if not updates_performed else 'default' }}"
Tags: "white_check_mark"
when: ntfy_url is defined