fix: notifications priority
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user