Docker host and docker registry

This commit is contained in:
2016-12-28 13:13:35 -05:00
parent a519e04791
commit 96087c2295
23 changed files with 361 additions and 27 deletions

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

@@ -0,0 +1,37 @@
---
# playbook for home02
- hosts: web01
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
- td-agent-bit
- php7-fpm
post_tasks:
# - name: check service is up
# service: name={{ bind.service }} state=started