Skip to content

Commit

Permalink
Merge pull request #295 from vishnoianil/fix-tlsinsecure
Browse files Browse the repository at this point in the history
Fix tls insecure flag
  • Loading branch information
nerdalert authored Apr 23, 2024
2 parents e78be29 + dae6e6d commit 6cb22f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/ansible/worker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

- name: Set tls-insecure if enabled
ansible.builtin.set_fact:
worker_args: "{{ worker_args }} --tls-insecure"
worker_args: "{{ worker_args }} --tls-insecure \"true\""
when: sdg_endpoint_url is defined and
sdg_endpoint_url != None and
sdg_endpoint_url | trim != '' and
Expand Down
2 changes: 1 addition & 1 deletion scripts/install-worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ EOF

# Check if TLS_INSECURE is set to true
if [ "${TLS_INSECURE}" == "true" ]; then
EXTRA_ARGS="${EXTRA_ARGS} --tls-insecure"
EXTRA_ARGS="${EXTRA_ARGS} --tls-insecure true"
fi

# Check if tls cert and key are set
Expand Down

0 comments on commit 6cb22f9

Please sign in to comment.