1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix exported SSL_CERT_FILE variable (#28968)

The variable was pointing to a file with a `.cer` extension but the curl command downloads a `.pem` file which makes executions of the bash script fail
This commit is contained in:
Nicklas Laine Overgaard 2017-09-05 16:29:11 +02:00 committed by Sam Doran
parent 8a2f9b7e28
commit 859b5df1d4

View file

@ -168,7 +168,7 @@ For the following use case, let's use this small shell script as a wrapper.
exit 1
fi
export SSL_CERT_FILE=$(pwd)/cacert.cer
export SSL_CERT_FILE=$(pwd)/cacert.pem
export ANSIBLE_HOST_KEY_CHECKING=False
if [[ ! -f "$SSL_CERT_FILE" ]]; then