feat: depricate remote logging
This commit is contained in:
parent
1bd36a99bf
commit
e2405d9a14
1 changed files with 5 additions and 8 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue