Hi,
I'm developing a testing environment for our Ansible playbooks using
Vagrant. I'm using ansible 1.7.2 and vagrant 1.6.5.
When I execute a playbook, built-in modules fail SSL certificate validation:
- name: wget phantomjs
action: get_url
args:
url: "{{ phantomjs_archive_download_url }}"
dest: "{{ phantomjs_archive_download_to }}"
sha256sum: "{{ phantomsjs_archive_sha256_checksum }}"
sudo: yes
However if I replace with a manual shell command they work fine:
- name: wget phantomjs
shell: wget {{ phantomjs_archive_download_url }} -O "{{
phantomjs_archive_download_to }}/{{ phantomjs_archive_name }}"
sudo: yes
Both machines (the one running ansible-playbook and the controlled VM) are
Ubuntu 14.04 and they both have the ca-certificates package installed.
Why would certificates validate successfully using any shell command (wget,
httpie, curl, etc) but fail when using ansible modules?
Ben
--
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/d433ffc3-2ad7-40fa-bd6a-4ca8138258c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.