From f379dac394207cc568c40224944293fe1e5799f3 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Wed, 28 Feb 2024 21:35:54 +0100 Subject: [PATCH] [PR #8037/05bf5ee1 backport][stable-8] Fix instruction for distro Ubuntu and Debian for htpasswd depends (#8042) Fix instruction for distro Ubuntu and Debian for htpasswd depends (#8037) * Fix instruction fo debian 12 for htpasswd depends * Add range for python-passlib distro (cherry picked from commit 05bf5ee1df35a878f69f16ef8d6690e4d901f7a8) Co-authored-by: Xavier Mitault --- plugins/modules/htpasswd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/modules/htpasswd.py b/plugins/modules/htpasswd.py index 7db2e27ae5..9633ce2fb5 100644 --- a/plugins/modules/htpasswd.py +++ b/plugins/modules/htpasswd.py @@ -70,7 +70,8 @@ options: does not exist it will fail. notes: - "This module depends on the C(passlib) Python library, which needs to be installed on all target systems." - - "On Debian, Ubuntu, or Fedora: install C(python-passlib)." + - "On Debian < 11, Ubuntu <= 20.04, or Fedora: install C(python-passlib)." + - "On Debian, Ubuntu: install C(python3-passlib)." - "On RHEL or CentOS: Enable EPEL, then install C(python-passlib)." requirements: [ passlib>=1.6 ] author: "Ansible Core Team"