Last active
August 29, 2015 14:08
-
-
Save hakobera/a8ee46282355fd3d0fc4 to your computer and use it in GitHub Desktop.
ansible playbook of td-agent2 for Ubuntu 14.04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# based on http://toolbelt.treasuredata.com/sh/install-ubuntu-trusty-td-agent2.sh | |
- name: add apt key | |
apt_key: url=http://packages.treasuredata.com/GPG-KEY-td-agent state=present | |
- name: add apt repository | |
apt_repository: repo='deb [arch=amd64] http://packages.treasuredata.com/2/ubuntu/trusty/ trusty contrib' state=present | |
- name: install td-agent | |
apt: name=td-agent state=present | |
- name: start and enabled td-agent | |
service: name=td-agent state=started enabled=yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment