Skip to content

Commit

Permalink
Fix default variable value test
Browse files Browse the repository at this point in the history
  • Loading branch information
o-leolleo committed Oct 2, 2020
1 parent 1e3ac52 commit 4c87ef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
sysctl:
name: net.ipv4.tcp_keepalive_time
value: '{{ mongodb_tcp_keep_alive_time }}'
when: mongodb_tcp_keep_alive_time is defined
when: mongodb_tcp_keep_alive_time|length > 0
become: yes

- name: ensure path /data/db exists
Expand Down

0 comments on commit 4c87ef0

Please sign in to comment.