From 567b573971f71b66b856011c5ba7a7d9bf96ced6 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Wed, 28 Feb 2024 21:35:50 +0100 Subject: [PATCH] [PR #8037/05bf5ee1 backport][stable-7] Fix instruction for distro Ubuntu and Debian for htpasswd depends (#8041) 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 ed510991a4..98f72ceb70 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"