fix: syslog config
This commit is contained in:
parent
7ec8af7cd0
commit
1e560aa88d
1 changed files with 4 additions and 1 deletions
|
|
@ -42,6 +42,9 @@
|
||||||
- name: "syslog - config - remote-logging"
|
- name: "syslog - config - remote-logging"
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: "templates/syslog/rsyslog.d/remote-logging.conf"
|
src: "templates/syslog/rsyslog.d/remote-logging.conf"
|
||||||
path: "/etc/rsyslog.d/remote-logging.conf"
|
dest: "/etc/rsyslog.d/remote-logging.conf"
|
||||||
|
owner: "root"
|
||||||
|
group: "root"
|
||||||
|
mode: "0644"
|
||||||
when: 'ansible_os_family == "Debian"'
|
when: 'ansible_os_family == "Debian"'
|
||||||
notify: "restart rsyslog"
|
notify: "restart rsyslog"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue