I’m hoping someone can help me out.
I have a playbook to install Graylog2 on an EC2 host. The playbook fails on:
‘TASK [graylog : setting nginx pass]’
with the following error:
‘FAILED! => {“changed”: false, “failed”: true, “msg”: “This module requires the passlib Python library”}’
Within the .yml file for this particular role I have:
- name: install python-passlib
yum: name=python-passlib state=present
tags: graylog2
which is before the setting nginx pass task:
- name: setting nginx pass
htpasswd: path=/etc/nginx/htpasswd.users name=name password=password owner=root group=root mode=0640
tags: graylog2
Has anyone else come across this issue previously? Any advice on how to resolve?
Thanks, Matt