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 committed Jun 15, 2020
1 parent 356a3f2 commit e127ea7
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 @@ -148,9 +148,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

- name: reload systemd daemons
become: true
Expand Down

0 comments on commit e127ea7

Please sign in to comment.