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!