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:
parent
8a2f9b7e28
commit
859b5df1d4
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ For the following use case, let's use this small shell script as a wrapper.
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export SSL_CERT_FILE=$(pwd)/cacert.cer
|
export SSL_CERT_FILE=$(pwd)/cacert.pem
|
||||||
export ANSIBLE_HOST_KEY_CHECKING=False
|
export ANSIBLE_HOST_KEY_CHECKING=False
|
||||||
|
|
||||||
if [[ ! -f "$SSL_CERT_FILE" ]]; then
|
if [[ ! -f "$SSL_CERT_FILE" ]]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue