Merge "Add default value for log_dirs in os-log-dir-setup.yml"
This commit is contained in:
commit
c293536b63
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user