"validate_certs" arg with ansible 2.2 and vmware module not skipping cert validation

22 views
Skip to first unread message

broncomz1

unread,
Dec 12, 2016, 10:11:42 AM12/12/16
to Ansible Project
I've see several discussions where the "validate_certs" arg should work (was fixed, https://github.com/ansible/ansible-modules-extras/issues/2757 for example) in order to use self-signed certificates and skip cert validation in ansible 2.2, however I'm still seeing certificate issues when setting "validate_certs=false".

localhost | FAILED! => {
    "changed": false,
    "failed": true,
    "invocation": {
        "module_args": {
            "hostname": "172.31.240.202",
            "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
            "username": "root",
            "validate_certs": false
        },
        "module_name": "vmware_vm_facts"
    },
    "msg": "[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)"

Any pointers to how to solve would be much appreciated. I may very well be doing something wrong here...new to ansible in general...

Thanks!
Reply all
Reply to author
Forward
0 new messages