From 0704fa8c03c74f9802312656fa5f21d6f7c71db2 Mon Sep 17 00:00:00 2001 From: Bertrand Lanson Date: Wed, 15 Mar 2023 23:06:23 +0100 Subject: [PATCH] added allow_downgrade back --- tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/main.yml b/tasks/main.yml index 1615486..ab3f09f 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -9,6 +9,7 @@ ansible.builtin.apt: name: "{{ item.name }}{% if item.version not in [None, '', 'latest'] %}={{ item.version }}{% endif %}" state: "{{ item.state }}" + allow_downgrade: true loop: "{{ manage_apt_packages_list }}" when: manage_apt_packages_list is defined and manage_apt_packages_list not in [None, '']