Removed old pushover notifications
This commit is contained in:
@@ -12,15 +12,6 @@
|
||||
stat:
|
||||
path: /var/run/reboot-required
|
||||
register: reboot_required
|
||||
|
||||
- name: Send notification
|
||||
community.general.pushover:
|
||||
title: 'Reboot Required!'
|
||||
msg: 'Reboot is required on {{inventory_hostname}}'
|
||||
app_token: '{{ app_token }}'
|
||||
user_key: '{{ user_key }}'
|
||||
delegate_to: localhost
|
||||
when: reboot_required.stat.exists
|
||||
|
||||
- name: Give reboot notification
|
||||
ansible.builtin.debug:
|
||||
|
||||
Reference in New Issue
Block a user