Namely, the vanilla ubuntu 14.04.4 host I wish to install go into has python 2.7.6 installed, which doesn't handle SNI.
The suggested workaround is to not validate certificates (which seems sloppy) or to use curl or wget as an alternative.
I was wondering how open you would be to a configuration option in your role that allowed the use of curl as an alternative?
Alternatively, can you suggest another way I can structure my ansible playbook so that I can avoid this issue and still use your role?
fatal: [default]: FAILED! => {"changed": false, "failed": true, "invocation": {"module_args": {"backup": null, "checksum": "", "content": null, "delimiter": null, "dest": "/usr/local/src/go1.6.linux-amd64.tar.gz", "directory_mode": null, "follow": false, "force": false, "force_basic_auth": false, "group": null, "headers": null, "http_agent": "ansible-httpget", "mode": null, "owner": null, "regexp": null, "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "sha256sum": "5470eac05d273c74ff8bac7bef5bad0b5abbd1c4052efbdbc8db45332e836b0b", "src": null, "timeout": 10, "url": "https://golang.org/dl/go1.6.linux-amd64.tar.gz", "url_password": null, "url_username": null, "use_proxy": true, "validate_certs": true}, "module_name": "get_url"}, "msg": "SSL Certificate does not belong to golang.org. Make sure the url has a certificate that belongs to it or use validate_certs=False (insecure)"}
NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @playbook.retry
PLAY RECAP *********************************************************************
default : ok=11 changed=1 unreachable=0 failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.