homeserver/playbooks/on-off/delete_old_upgrades_config.yml
mg b5c16eaacd Rolle aktualisiert: unattended upgrades (#461)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #461
2023-02-17 12:17:12 +01:00

11 lines
270 B
YAML

---
- hosts: all
tasks:
- name: delete_old_upgrades_config
become: yes
ansible.builtin.file:
name: "{{ item }}"
state: absent
loop:
- /etc/apt/apt.conf.d/20auto-upgrades
- /etc/apt/apt.conf.d/50unattended-upgrades