Skip to content

Instantly share code, notes, and snippets.

@BumpeiShimada
Created September 3, 2018 12:59
Show Gist options
  • Save BumpeiShimada/479cbd4869129f41436c8c0e4f4ed402 to your computer and use it in GitHub Desktop.
Save BumpeiShimada/479cbd4869129f41436c8c0e4f4ed402 to your computer and use it in GitHub Desktop.
- name: install fluent plugins use fluent-gem
gem: name=fluent-plugin-{{ item.name }} version={{ item.version }} executable=/usr/sbin/td-agent-gem user_install=no
with_items:
- { name: 'forest', version: '' }
- { name: 'jsonbucket', version: '' }
- { name: 'rewrite-tag-filter', version: '1.6.0' }
notify:
- restart td-agent
when: td_agent_conf is defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment