Merge "Add default value for log_dirs in os-log-dir-setup.yml"

This commit is contained in:
Zuul 2018-04-07 00:37:39 +00:00 committed by Gerrit Code Review
commit c293536b63

View File

@ -27,7 +27,7 @@
file:
path: "{{ item.src }}"
state: directory
with_items: "{{ log_dirs }}"
with_items: "{{ log_dirs|default([]) }}"
when: is_metal | bool
tags:
- common-log
@ -40,7 +40,7 @@
group: "{{ item.group|default(omit) }}"
state: "link"
force: "yes"
with_items: "{{ log_dirs }}"
with_items: "{{ log_dirs|default([]) }}"
when: is_metal | bool
tags:
- common-log