add remote logging support to rsyslog

This commit is contained in:
Timo Makinen 2019-07-19 18:04:53 +03:00
parent 53c31e62d1
commit 1fcc2dd407
2 changed files with 20 additions and 0 deletions

View file

@ -16,6 +16,15 @@
group: "{{ ansible_wheel }}"
notify: restart rsyslog
- name: configure remote logging
template:
dest: /etc/rsyslog.d/remote.conf
src: remote.conf.j2
mode: 0644
owner: root
group: "{{ ansible_wheel }}"
notify: restart rsyslog
- name: enable rsyslog service
service:
name: rsyslog