Roles for td-agent and td-agent-bit

This commit is contained in:
2016-12-18 17:04:42 -05:00
parent c26a0e2d21
commit a519e04791
13 changed files with 183 additions and 23 deletions

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