From fb7eb61de8711667c6a43d2495cf23dd7ef54332 Mon Sep 17 00:00:00 2001 From: Lino Schmidt Date: Sat, 22 Jul 2023 20:56:03 +0200 Subject: [PATCH] added push notify --- aptupdates.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/aptupdates.yml b/aptupdates.yml index 5ae413b..6af3224 100644 --- a/aptupdates.yml +++ b/aptupdates.yml @@ -1,8 +1,15 @@ - hosts: all - become: true tasks: - name: Update apt packages apt: upgrade: yes - update_cache: yes \ No newline at end of file + update_cache: yes + +- name: Send notifications + community.general.pushover: + title: 'APT Updates' + msg: '{{ testvar }} has been lost somewhere' + app_token: '{{ app_token }}' + user_key: '{{ user_key }}' + delegate_to: localhost \ No newline at end of file