Skip to content

Commit

Permalink
set NODE_TLS_REJECT_UNAUTHORIZED default value to be 1
Browse files Browse the repository at this point in the history
Signed-off-by: Kipchirchir Sigei <[email protected]>
  • Loading branch information
KipSigei authored and DavisRayM committed Oct 5, 2021
1 parent e0c2a05 commit 5abb874
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tasks/install-enketo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,8 @@
become_user: "root"
lineinfile:
path: "/etc/systemd/system/pm2-{{ enketo_user }}.service"
line: "export NODE_TLS_REJECT_UNAUTHORIZED=0"
line: "export NODE_TLS_REJECT_UNAUTHORIZED={{ enketo_node_tls_reject_unauthorized | default(1) }}"
state: present
when: enketo_set_node_tls_reject_env is defined and enketo_set_node_tls_reject_env

- block:
- name: Replace pm2 resurrect with pm2 start
Expand Down

0 comments on commit 5abb874

Please sign in to comment.