mirror of
https://github.com/status-im/ansible-role-mongodb.git
synced 2025-02-17 15:36:23 +00:00
This commit is contained in:
parent
387e7f7ff5
commit
26b12d6f66
@ -32,9 +32,9 @@
|
||||
|
||||
- name: Create log if missing
|
||||
file: state=touch dest={{ mongodb_systemlog_path }} owner={{ mongodb_user }} group={{mongodb_user}} mode=0755
|
||||
when: ( logfile_stat is defined
|
||||
and not logfile_stat.stat.exists
|
||||
and mongodb_systemlog_destination == "file" )
|
||||
when: ( mongodb_systemlog_destination == "file"
|
||||
and logfile_stat is defined
|
||||
and not logfile_stat.stat.exists )
|
||||
|
||||
- name: Ensure dbpath directory
|
||||
file:
|
||||
|
Loading…
x
Reference in New Issue
Block a user