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