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 body: No updates have been rolled out
headers: headers:
Title: "Proxmox Not Ready for Updates" Title: "Proxmox Not Ready for Updates"
Priority: "5" Priority: "default"
Tags: "x" Tags: "x"
delegate_to: localhost delegate_to: localhost
become: false become: false
@@ -143,7 +143,7 @@
body: Update failed on {{ inventory_hostname_short }} body: Update failed on {{ inventory_hostname_short }}
headers: headers:
Title: "Proxmox VE Update Failed" Title: "Proxmox VE Update Failed"
Priority: "5" Priority: "high"
Tags: "x" Tags: "x"
delegate_to: localhost delegate_to: localhost
become: false become: false
@@ -186,7 +186,7 @@
{% endif %} {% endif %}
headers: headers:
Title: "Proxmox VE Update Report" 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" Tags: "white_check_mark"
when: ntfy_url is defined when: ntfy_url is defined