Files
Ansible/aptupdates.yml
2023-07-22 21:06:50 +02:00

14 lines
368 B
YAML

- hosts: all
tasks:
- name: Update apt packages
apt:
upgrade: yes
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