Hi, Thank you in advance to anyone who helps here. So am unable to run playbooks against our windows AWS instances. I was able to perform a win_ping but when I attempt to run this task on the same instances that I am able to ping I get an SSL Cert error. I have displayed all relevant information down below, let me know if any other information is required.
*PLAYBOOK* --- - hosts: "{{target}}" roles: - windows vars_files: - "/home/ubuntu/infratools/ansible/inventory/group_vars/windows.yml" *TASK MAIN.YML* --- # Obtain information about a folder - win_stat: path: C:\Users register: folder_info *WIN_VARS* ansible_user: username ansible_password: "#####" ansible_port: 5986 ansible_connection: winrm ansible_winrm_scheme: https # The following is necessary for Python 2.7.9+ when using default WinRM self-signed certificates: ansible_winrm_server_cert_validation: ignore *WIN_PING* 10.100.22.111 | SUCCESS => { "changed": false, "ping": "pong" } *ERROR* } fatal: [10.100.22.111]: UNREACHABLE! => { "changed": false, "msg": "ssl: HTTPSConnectionPool(host='10.100.22.111', port=5986): Max retries exceeded with url: /wsman (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)'),))", "unreachable": true } -- 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/071efcf6-3361-496d-99c2-b8ad7d63085c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.