I've added skip_ssl argument to module_utils/vmware.py. Perhaps that's not 
the best implementation...

https://github.com/kamsz/ansible

On Wednesday, January 13, 2016 at 6:54:29 PM UTC+1, Larry Smith wrote:
>
> Just getting started messing with these new 2.0 VMWare modules and seem to 
> be stuck on an SSL error. Anyone know how to get around this? Any info 
> would be much appreciated.
>
> fatal: [localhost -> localhost]: FAILED! => {"apierror": "[Errno 1] 
> _ssl.c:510: error:14090086:SSL 
> routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed", "changed": 
> false, "failed": true, "msg": "Unable to connect to vCenter or ESXi API on 
> TCP/443."}
>
>
> ---
>
> - hosts: all
>
>   connection: local
>
>   become: false
>
>   vars:
>
>     - datacenter_name: 'LAB'
>
>     - esxi_user: 'root'
>
>     - esxi_pass: 'vmware'
>
>     - pri_domain_name: 'everythingshouldbevirtual.local'
>
>     - vcenter_host: 'vcsa.{{ pri_domain_name }}'
>
>   tasks:
>
>     - name: create DataCenter
>
>       local_action: >
>
>         vmware_datacenter
>
>         hostname="{{ vcenter_host }}"
>
>         username="{{ esxi_user }}"
>
>         password="{{ esxi_pass }}"
>
>         datacenter_name="{{ datacenter_name }}"
>
>         state=present
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/cd9e1934-aba6-465c-8661-0222e8fbe548%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to