chore: add options logrotate_app_config and logrotate_app_config_extra
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2021-05-25 23:28:54 +02:00
parent 43e1478abc
commit 597679b649
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 3 additions and 2 deletions

View File

@ -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: []

View File

@ -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