This commit is contained in:
Paulo Pizarro 2019-04-25 11:02:09 -03:00
parent 387e7f7ff5
commit 26b12d6f66
1 changed files with 3 additions and 3 deletions

View File

@ -32,9 +32,9 @@
- name: Create log if missing - name: Create log if missing
file: state=touch dest={{ mongodb_systemlog_path }} owner={{ mongodb_user }} group={{mongodb_user}} mode=0755 file: state=touch dest={{ mongodb_systemlog_path }} owner={{ mongodb_user }} group={{mongodb_user}} mode=0755
when: ( logfile_stat is defined when: ( mongodb_systemlog_destination == "file"
and not logfile_stat.stat.exists and logfile_stat is defined
and mongodb_systemlog_destination == "file" ) and not logfile_stat.stat.exists )
- name: Ensure dbpath directory - name: Ensure dbpath directory
file: file: