I have same error, I can't understand why

Le lundi 18 juin 2018 à 01:34:26 UTC+2, stifan kristi a écrit :

*ref*
https://github.com/ansible/ansible/issues/41521

as suggestion on that link, still error, not sure why the issue still not 
fixed, but it's been closed
step i've done, according to the suggestion

$ brew update && brew upgrade
$ openssl version
OpenSSL 1.0.2o  27 Mar 2018
$ python -V | pip list | grep ansible
Python 3.6.5 :: Anaconda, Inc.
ansible        2.5.5
$ cat roles/packer/tasks/main.yml 
---
- name: get package
  get_url:
    url: https://
releases.hashicorp.com/packer/1.2.4/packer_1.2.4_darwin_amd64.zip
    validate_certs: False
    dest: /Users/Downloads/packer.zip
    mode: 0644

- name: unarchive package
  unarchive: 
    src: /Users/MacBookPro/Downloads/packer.zip
    dest: /Users/MacBookPro/Downloads/
    copy: no
$ ansible-playbook site.yml

PLAY [all] 
*********************************************************************

TASK [packer : get package] 
****************************************************
fatal: [localhost]: FAILED! => {"changed": false, "dest": 
"/Users/Downloads/packer.zip", "msg": "Request failed: <urlopen error [SSL: 
TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)>", 
"state": "absent", "url": "
https://releases.hashicorp.com/packer/1.2.4/packer_1.2.4_darwin_amd64.zip"}
 to retry, use: --limit @/Users/MacBookPro/Downloads/learn/ansible/site.
retry

PLAY RECAP 
*********************************************************************
localhost                  : ok=0    changed=0    unreachable=0    failed=1

as the url ref (github issues) i've run python 2.7.15 with ansible 2.5.4, 
after following the suggestion, upgrade openssl, or even try python3 and 
ansible (install from fresh) but still got the same result

thx n best regards,
stifan

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/339431da-d7b4-4cd1-b126-29ff8954d7f9n%40googlegroups.com.

Reply via email to