configure managed hosts to forward syslog messages to logs.xai-corp.net via udp

This commit is contained in:
2017-06-16 23:16:52 -04:00
parent 76c0d85fb9
commit 4fd5419a07
6 changed files with 109 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
---
# handlers/main.yml
# define handlers here
- name: restart rsyslog
service: name={{ rsyslog.service }} state=restarted
- name: stop rsyslog
service: name={{ rsyslog.service }} state=stopped