telegraf: Move config into repository
This commit is contained in:
parent
eb1478abcb
commit
47157118e7
2 changed files with 39 additions and 3 deletions
|
@ -9,10 +9,10 @@
|
|||
name: telegraf
|
||||
state: installed
|
||||
|
||||
- name: Copy config
|
||||
ansible.builtin.copy:
|
||||
- name: Create config
|
||||
ansible.builtin.template:
|
||||
dest: /etc/telegraf/telegraf.conf
|
||||
src: "{{ ansible_private }}/files/telegraf/telegraf.conf"
|
||||
src: telegraf.conf.j2
|
||||
mode: "0640"
|
||||
owner: root
|
||||
group: _telegraf
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue