Ansible htpasswd – this module requires the passlib python library

I just tried to use the Ansible htpasswd and it said:

msg: This module requires the passlib Python library

You just need to check that python-passlib is installed like so:

action: apt pkg=python-passlib state=latest install_recommends=yes

Leave a Reply