This repository has been archived on 2020-07-02. You can view files and clone it, but cannot push or open issues or pull requests.
ansible-telegraf/tasks/main.yml

17 lines
394 B
YAML

- name: Copy telegraf config
template:
follow: yes
src: 'telegraf.conf.j2'
dest: '/etc/telegraf/telegraf.conf'
notify: Run service actions
tags:
- telegraf
- vault
- name: Give required permissions to the daemon
user:
name: 'telegraf'
groups:
- varnish # TODO: Create a monitoring group
tags:
- telegraf