Set up logrotate for odcs-backend
The logrotate config file exists in the repository, but it doesn't get installed. Let's fix it.
This commit is contained in:
parent
f5a2adf4db
commit
5c2c077ba8
1 changed files with 9 additions and 0 deletions
|
@ -285,6 +285,15 @@
|
|||
- odcs
|
||||
- odcs/backend
|
||||
|
||||
- name: configure logrotate
|
||||
copy:
|
||||
src: "{{ roles_path }}/odcs/base/files/logrotate.d/odcs }}"
|
||||
dest: /etc/logrotate.d/odcs
|
||||
when: inventory_hostname.startswith('odcs-backend')
|
||||
tags:
|
||||
- odcs
|
||||
- odcs/backend
|
||||
|
||||
- name: Run systemd-tmpfiles --create
|
||||
command: systemd-tmpfiles --create
|
||||
args:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue