From f56478fa1a90d5fff172ff80562daa8a6dfaa6d3 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 4 Sep 2023 13:02:08 +0200 Subject: fix task names, small refactoring, etc. --- roles/apt/tasks/unattended_upgrades.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roles/apt') diff --git a/roles/apt/tasks/unattended_upgrades.yml b/roles/apt/tasks/unattended_upgrades.yml index e9fdd05..938c903 100644 --- a/roles/apt/tasks/unattended_upgrades.yml +++ b/roles/apt/tasks/unattended_upgrades.yml @@ -5,7 +5,7 @@ state: present install_recommends: false -- name: 50unattended-upgrades +- name: Configure 50unattended-upgrades become: true ansible.builtin.template: src: 50unattended-upgrades.j2 @@ -17,13 +17,13 @@ # https://wiki.debian.org/UnattendedUpgrades says that 20auto-upgrades and # 02periodic are _alternatives_ (and, presumably, not mechanisms that can be # used together). -- name: 20auto-upgrades +- name: Configure 20auto-upgrades become: true ansible.builtin.file: path: /etc/apt/apt.conf.d/20auto-upgrades state: absent -- name: 02periodic +- name: Configure 02periodic become: true ansible.builtin.template: src: 02periodic.j2 -- cgit v1.2.3