evolinux-base: Add comments structure in logs
All checks were successful
Ansible Lint |Total|New|Outstanding|Fixed|Trend |:-:|:-:|:-:|:-:|:-: |2628|11|2617|10|:-1: Reference build: <a href="https://jenkins.evolix.org/job/gitea/job/ansible-roles/job/unstable/327//ansiblelint">Evolix » ansible-roles » unstable #327</a>
gitea/ansible-roles/pipeline/head This commit looks good

This commit is contained in:
Brice Waegeneire 2023-08-23 15:12:21 +02:00
parent fe369257ed
commit 53aab6f405

View file

@ -2,6 +2,7 @@
# TODO: voir comment faire des backups initiaux des fichiers
# RSyslog
- name: Copy rsyslog.conf
ansible.builtin.copy:
src: logs/rsyslog.conf
@ -10,6 +11,7 @@
notify: restart rsyslog
when: evolinux_logs_rsyslog_conf | bool
# Logrotate
- name: Disable logrotate default conf
ansible.builtin.command:
cmd: mv /etc/logrotate.d/rsyslog /etc/logrotate.d/rsyslog.disabled