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

View File

@@ -0,0 +1,6 @@
---
# handlers for td-agent-bit
- name: restart td-agent-bit
service: name=td-agent-bit state=restarted

View File

@@ -0,0 +1,24 @@
---
# install fluentd td-agent bit log forwarder
- name: install GPG key
apt_key:
state: present
url: http://packages.fluentbit.io/fluentbit.key
- name: install repo
apt_repository:
state: present
repo: deb http://packages.fluentbit.io/ubuntu xenial main
- name: update database
apt:
update_cache: true
- name: install package
apt:
state: present
name: td-agent-bit
notify: restart td-agent-bit