chore: add options logrotate_app_config and logrotate_app_config_extra
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
43e1478abc
commit
597679b649
@ -54,4 +54,5 @@ logrotate_config:
|
|||||||
- create 0600 root utmp
|
- create 0600 root utmp
|
||||||
- rotate 1
|
- rotate 1
|
||||||
|
|
||||||
logrotate_config_extra: []
|
logrotate_app_config: []
|
||||||
|
logrotate_app_config_extra: []
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: 0644
|
mode: 0644
|
||||||
loop: "{{ logrotate_config + logrotate_config_extra }}"
|
loop: "{{ logrotate_config + logrotate_app_config + logrotate_app_config_extra }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "/etc/logrotate.d/{{ item.name }}"
|
label: "/etc/logrotate.d/{{ item.name }}"
|
||||||
become: True
|
become: True
|
||||||
|
Loading…
Reference in New Issue
Block a user