add else section to inline if
This commit is contained in:
parent
e373d9f052
commit
c1b7b5a70b
@ -36,7 +36,7 @@
|
||||
state: directory
|
||||
with_items:
|
||||
- "{{ mongodb_storage_dbpath }}"
|
||||
- "{{ mongodb_systemlog_path | dirname if mongodb_systemlog_destination == 'file'}}"
|
||||
- "{{ mongodb_systemlog_path | dirname if mongodb_systemlog_destination == 'file' else omit}}"
|
||||
|
||||
# - name: Make sure mongodb is running
|
||||
# systemd:
|
||||
|
Loading…
Reference in New Issue
Block a user