update requirements.yml and ansible.config

start home.xai-corp.net and home02.xai-corp.net playbooks
This commit is contained in:
2016-12-12 07:23:37 -05:00
parent fd770130ff
commit c26a0e2d21
20 changed files with 549 additions and 18 deletions

37
home02.xai-corp.net.yml Normal file
View File

@@ -0,0 +1,37 @@
---
# playbook for home02
- hosts: home2
remote_user: ansible
gather_facts: yes
become: true
vars:
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].*
roles:
- Datadog.datadog
- ns.xai-corp.net
- td-agent-bit
post_tasks:
# - name: check service is up
# service: name={{ bind.service }} state=started