CU-251akbj added graylog and additional fixes from discovered logs
This commit is contained in:
10
ansible/roles/http/tasks/logrotate.yml
Normal file
10
ansible/roles/http/tasks/logrotate.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
- name: template nginx log rotation
|
||||
become: true
|
||||
ansible.builtin.template:
|
||||
src: logrotate/nginx.j2
|
||||
dest: /etc/logrotate.d/nginx
|
||||
mode: 0644
|
||||
tags:
|
||||
- http
|
||||
- logrotate
|
||||
Reference in New Issue
Block a user