From 54c4fe6021b23eef137d7d4a3014244c08a1e16c Mon Sep 17 00:00:00 2001 From: Andrey Limachko Date: Tue, 5 Apr 2022 22:45:40 +0400 Subject: [PATCH] Add apr-repo rm all before repo settings --- roles/common/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index fd75847..43c2fb4 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -32,6 +32,10 @@ shell: find /etc/apt/sources.list.d/ -name '*.list' -delete changed_when: false +- name: purge all repos with apt-repo + command: apt-repo rm all + changed_when: False + - name: set apt sources template: src: "apt.list.j2"