Skip to content

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

Open
@ganto

Description

@ganto

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions