-
Notifications
You must be signed in to change notification settings - Fork 24.2k
Closed
Labels
affects_2.4This issue/PR affects Ansible v2.4This issue/PR affects Ansible v2.4bugThis issue/PR relates to a bug.This issue/PR relates to a bug.moduleThis issue/PR relates to a module.This issue/PR relates to a module.support:coreThis issue/PR relates to code supported by the Ansible Engineering Team.This issue/PR relates to code supported by the Ansible Engineering Team.
Description
ISSUE TYPE
- Bug Report
COMPONENT NAME
Ansible-playbook with apt_key module
ANSIBLE VERSION
ansible 2.4.1.0
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/mklein/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/dist-packages/ansible
executable location = /usr/bin/ansible
python version = 2.7.13 (default, Jan 19 2017, 14:48:08) [GCC 6.3.0 20170118]
CONFIGURATION
Native configuration
OS / ENVIRONMENT
Debian 9: Linux 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3 (2017-08-06) x86_64 GNU/Linux with stable repositories
SUMMARY
When i use apt-key with ssl url, my ansible-playbook fails
STEPS TO REPRODUCE
---
- name: Install the repository key
apt_key:
url: https://www.postgresql.org/media/keys/ACCC4CF8.asc
validate_certs: no
state: present
EXPECTED RESULTS
Download the key
ACTUAL RESULTS
FAILED! => {"changed": false, "failed": true, "msg": "Failed to download key at https://www.postgresql.org/media/keys/ACCC4CF8.asc: Request failed: <urlopen error [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:661)>"}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
affects_2.4This issue/PR affects Ansible v2.4This issue/PR affects Ansible v2.4bugThis issue/PR relates to a bug.This issue/PR relates to a bug.moduleThis issue/PR relates to a module.This issue/PR relates to a module.support:coreThis issue/PR relates to code supported by the Ansible Engineering Team.This issue/PR relates to code supported by the Ansible Engineering Team.