From 8ff6015ba753f536ecf2e200f5246488d156ca77 Mon Sep 17 00:00:00 2001 From: Ondrej Famera Date: Tue, 6 Jun 2023 12:06:22 +0900 Subject: [PATCH] Add 'python3-distutils' on Debian 10 as well - tested on Debian 10.13 --- tasks/install_normal.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasks/install_normal.yml b/tasks/install_normal.yml index fe3d86b..54250ef 100644 --- a/tasks/install_normal.yml +++ b/tasks/install_normal.yml @@ -17,7 +17,9 @@ - name: "Packages: Add pcs-modules-2 Debian dependencies" set_fact: packages_for_installation: "{{ packages_for_installation + ['python3-distutils'] }}" - when: ansible_distribution == 'Debian' and ansible_distribution_major_version == '11' + when: + - ansible_distribution == 'Debian' + - ansible_distribution_major_version in ['10','11'] - name: "Packages: Add firewall packages" set_fact: