Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Set local httpd user passwords" task fails on Debian Stretch #60

Open
ganto opened this issue Jun 26, 2017 · 0 comments
Open

"Set local httpd user passwords" task fails on Debian Stretch #60

ganto opened this issue Jun 26, 2017 · 0 comments
Labels

Comments

@ganto
Copy link
Member

ganto commented Jun 26, 2017

Role is affected by upstream issue ansible/ansible#20199. This means if the Ansible host is running Ansible < 2.3.2 or < 2.4.0 and the Check_MK server is running Debian Stretch with python-passlib-1.7.0-2 the playbook run will abort with the following error:

TASK [debops-contrib.checkmk_server : Set local httpd user passwords] ***************************************************************************************************
[...]
failed: [debian-default-2134769] (item=ansible) => {
    "failed": true, 
    "invocation": {
        "module_args": {
            "attributes": null, 
            "backup": null, 
            "content": null, 
            "create": true, 
            "crypt_scheme": "md5_crypt", 
            "delimiter": null, 
            "directory_mode": null, 
            "follow": false, 
            "force": null, 
            "group": null, 
            "mode": null, 
            "name": "ansible", 
            "owner": null, 
            "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", 
            "path": "/opt/omd/sites/debops/etc/htpasswd", 
            "regexp": null, 
            "remote_src": null, 
            "selevel": null, 
            "serole": null, 
            "setype": null, 
            "seuser": null, 
            "src": null, 
            "state": "present", 
            "unsafe_writes": null
        }
    }, 
    "item": "ansible", 
    "msg": "invalid version number '1.7.0.post20170423015547'"
}

Work-Around:
Until a fixed Ansible version is released, apply patch ansible/ansible#20202 manually to your currently used Ansible installation.

@ganto ganto added the bug label Jun 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant