From e6b061a043fce7180b6e1675ebfd65f3b1222b07 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 7 Jun 2023 11:04:40 +0200 Subject: [PATCH] install passlib for python2 on 18.04 --- tasks/basic-auth.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/basic-auth.yml b/tasks/basic-auth.yml index e3e26a7..879abd8 100644 --- a/tasks/basic-auth.yml +++ b/tasks/basic-auth.yml @@ -4,7 +4,7 @@ apt: pkg=python-passlib state=present cache_valid_time=3600 when: - ansible_distribution_file_variety == "Debian" - - ansible_distribution_version is version_compare('18.04', '<') + - ansible_distribution_version is version_compare('18.04', '<=') - name: Install the python passlib library on deb based distributions apt: pkg=python3-passlib state=present cache_valid_time=3600