aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/apt
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-09-04 13:02:08 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-09-04 13:02:08 +0200
commitf56478fa1a90d5fff172ff80562daa8a6dfaa6d3 (patch)
tree3f463d17ba10394b3ee46a637702cfc6c6417f1f /roles/apt
parentsshd: validate the new config (diff)
downloadinfra-ansible-f56478fa1a90d5fff172ff80562daa8a6dfaa6d3.tar.gz
infra-ansible-f56478fa1a90d5fff172ff80562daa8a6dfaa6d3.zip
fix task names, small refactoring, etc.
Diffstat (limited to 'roles/apt')
-rw-r--r--roles/apt/tasks/unattended_upgrades.yml6
1 files changed, 3 insertions, 3 deletions
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