feat: depricate remote logging

This commit is contained in:
Simon Cornet 2025-10-25 19:16:23 +02:00
commit e2405d9a14

View file

@ -38,13 +38,10 @@
when: 'ansible_os_family == "Debian"'
notify: "restart rsyslog"
# configure rsyslogd - observium
- name: "syslog - config - remote-logging"
ansible.builtin.template:
src: "templates/syslog/rsyslog.d/remote-logging.j2"
dest: "/etc/rsyslog.d/remote-logging.conf"
owner: "root"
group: "root"
mode: "0644"
# configure rsyslogd
- name: "syslog - remove - remote-logging"
ansible.builtin.file:
path: "/etc/rsyslog.d/remote-logging.conf"
state: "absent"
when: 'ansible_os_family == "Debian"'
notify: "restart rsyslog"