Files
Ansible/aptupdates.yml
2023-07-22 20:57:41 +02:00

15 lines
383 B
YAML

- hosts: all
become: true
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