skip with_items

This commit is contained in:
Robert Kaussow 2018-07-07 16:53:19 +02:00
parent c1b7b5a70b
commit 7ae91574ca

View File

@ -36,7 +36,7 @@
state: directory
with_items:
- "{{ mongodb_storage_dbpath }}"
- "{{ mongodb_systemlog_path | dirname if mongodb_systemlog_destination == 'file' else omit}}"
- "{{ mongodb_systemlog_path | dirname when mongodb_systemlog_destination }}"
# - name: Make sure mongodb is running
# systemd: