Commit 85c8f0e0 authored by Alain Takoudjou's avatar Alain Takoudjou

playbook: validate_certs=no not working on ansible version < 2, use shell command

parent d5291cfa
Pipeline #2004 skipped
......@@ -37,7 +37,7 @@
when: hostname_file.stat.exists == True
- name: setting cluster
get_url: url={{ lookup('file', '/etc/opt/cluster.hash') }}/hosts dest=/tmp/hosts validate_certs=no
shell: wget --no-check-certificate "{{ lookup('file', '/etc/opt/cluster.hash') }}/hosts" -O /tmp/hosts
when: cluster_hash.stat.exists == True
- name: stat /tmp/hosts
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment