I install passlib and dependencies when using GHA like this: ansible-role-hardening/.github/workflows/molecule.yml at c62d9d4254cdf0dffdc63c28354a6a7c861199ed · konstruktoid/ansible-role-hardening · GitHub
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get --assume-yes --no-install-recommends install python3-pip
python3 -m pip install --user -U ansible ansible-lint \
jmespath molecule-plugins[docker] passlib
python3 -m pip install --user 'requests==2.28.1'