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:
|
file:
|
||||||
path: "{{ item.src }}"
|
path: "{{ item.src }}"
|
||||||
state: directory
|
state: directory
|
||||||
with_items: "{{ log_dirs }}"
|
with_items: "{{ log_dirs|default([]) }}"
|
||||||
when: is_metal | bool
|
when: is_metal | bool
|
||||||
tags:
|
tags:
|
||||||
- common-log
|
- common-log
|
||||||
@ -40,7 +40,7 @@
|
|||||||
group: "{{ item.group|default(omit) }}"
|
group: "{{ item.group|default(omit) }}"
|
||||||
state: "link"
|
state: "link"
|
||||||
force: "yes"
|
force: "yes"
|
||||||
with_items: "{{ log_dirs }}"
|
with_items: "{{ log_dirs|default([]) }}"
|
||||||
when: is_metal | bool
|
when: is_metal | bool
|
||||||
tags:
|
tags:
|
||||||
- common-log
|
- common-log
|
||||||
|
Loading…
Reference in New Issue
Block a user