From 5aa12d8acdc44fbea693c02b986b2d6477b9c926 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 12 Jan 2024 22:05:05 +0100 Subject: [PATCH] chgt role base --- roles/base/tasks/main.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index 859b253..d0c5aad 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -1,8 +1,14 @@ --- +- name: desactive unatentted upgrade + ansible.builtin.service: + name: unattended-upgrades.service + state: stopped + enabled: false + - name: Copie sources.list copy: - src: sources.list.{{ ansible_distribution }} + src: sources.list.{{ ansible_distribution_release }} dest: /etc/apt/sources.list - name: Copie apt.conf pour proxy @@ -75,8 +81,3 @@ - net.ipv6.conf.default.disable_ipv6 - net.ipv6.conf.lo.disable_ipv6 -- name: desactive unatentted upgrade - ansible.builtin.service: - name: unattended-upgrades.service - state: stopped - enabled: false