UCL-MIRSG / ansible-collection-infra

Ansible Collection to configure infrastructure for XNAT and OMERO
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Use bcrypt with password_hash #35

Closed drmatthews closed 10 months ago

drmatthews commented 10 months ago

Changes:

This has been done since node_exporter expects hashed password for basic authentication to be created with brypt. I initially removed because the following appears when running the monitoring_client role:

AttributeError: module 'bcrypt' has no attribute '__about__'

The play proceeds and node_exporter is correctly installed. I tried pinning bcrypt to 4.0.1 as suggested in https://github.com/pyca/bcrypt/issues/684 but the traceback still appears. Without bcrypt the node_exporter service fails to start.

drmatthews commented 10 months ago

Yup, passlib looks abandoned to me - annoying that Ansible are still using it.