setup papertrail logging on managed hosts and sslproxy container

This commit is contained in:
2017-06-26 20:43:49 -04:00
parent 9adfff78e2
commit 5e8759156f
6 changed files with 50 additions and 17 deletions

View File

@@ -35,22 +35,23 @@
- users_groups:
- datadog_api_key: ca0faf176c4aedd4f547ed7cf85615eb
datadog_checks:
system:
init_config: []
instances: []
disk:
init_config:
instances:
- use_mount: yes
excluded_filesystems:
- sysfs
- cgroup
- tracefs
- debugfs
- proc
- securityfs
excluded_mountpoint_re: /[media/richard|run/user].*
- datadog_checks:
system:
init_config: []
instances: []
disk:
init_config:
instances:
- use_mount: yes
excluded_filesystems:
- sysfs
- cgroup
- tracefs
- debugfs
- proc
- securityfs
- shm
excluded_mountpoint_re: /[media/richard|run/user].*
- rsyslog:
@@ -58,7 +59,7 @@
group: root
service: rsyslog
configs:
- 49-shiptograylog
- 48-ship2papertrail
# prepare python for ansible
pre_tasks:
@@ -79,6 +80,7 @@
- novuso.users
- user-richard
- rsyslog
- motd
- { role: Datadog.datadog, when: ansible_architecture != 'armv7l' } #does not support armhf architecture. should switch to fluentd or logstash
tasks: