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

@@ -36,6 +36,13 @@
- datadog_api_key: ca0faf176c4aedd4f547ed7cf85615eb
- rsyslog:
user: root
group: root
service: rsyslog
configs:
- 49-shiptograylog
# prepare python for ansible
pre_tasks:
- raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)
@@ -53,6 +60,7 @@
roles:
- novuso.users
- user-richard
- rsyslog
# - Datadog.datadog #does not support armhf architecture. should switch to fluentd or logstash
tasks: