diff --git a/tasks/syslog/config.yaml b/tasks/syslog/config.yaml index d1ea68c..9834d17 100644 --- a/tasks/syslog/config.yaml +++ b/tasks/syslog/config.yaml @@ -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"