From b4084ffdb41a7dd4dac0e3079155c3fe4d7004b3 Mon Sep 17 00:00:00 2001 From: Andrey Limachko Date: Fri, 17 Feb 2023 17:17:36 +0400 Subject: [PATCH] Added system downgrade via eepm --- roles/common/tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/roles/common/tasks/main.yml b/roles/common/tasks/main.yml index d56f98d..b700ea7 100644 --- a/roles/common/tasks/main.yml +++ b/roles/common/tasks/main.yml @@ -28,6 +28,11 @@ path: /etc/apt/apt.conf.d/tmp.cache.conf state: absent +- name: install eepm package + apt_rpm: + pkg: eepm + state: installed + - name: purge apt.sources shell: find /etc/apt/sources.list.d/ -name '*.list' -delete changed_when: false @@ -61,6 +66,9 @@ - rpm state: installed +- name: downgrade to archive date + shell: epm downgrade -y + - name: dist-upgrade shell: apt-get -y dist-upgrade