forked from evolix/ansible-roles
evolinux-base: Add comments structure in logs
This commit is contained in:
parent
fe369257ed
commit
53aab6f405
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
# TODO: voir comment faire des backups initiaux des fichiers
|
# TODO: voir comment faire des backups initiaux des fichiers
|
||||||
|
|
||||||
|
# RSyslog
|
||||||
- name: Copy rsyslog.conf
|
- name: Copy rsyslog.conf
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: logs/rsyslog.conf
|
src: logs/rsyslog.conf
|
||||||
|
@ -10,6 +11,7 @@
|
||||||
notify: restart rsyslog
|
notify: restart rsyslog
|
||||||
when: evolinux_logs_rsyslog_conf | bool
|
when: evolinux_logs_rsyslog_conf | bool
|
||||||
|
|
||||||
|
# Logrotate
|
||||||
- name: Disable logrotate default conf
|
- name: Disable logrotate default conf
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: mv /etc/logrotate.d/rsyslog /etc/logrotate.d/rsyslog.disabled
|
cmd: mv /etc/logrotate.d/rsyslog /etc/logrotate.d/rsyslog.disabled
|
||||||
|
|
Loading…
Reference in a new issue