fix: create missing telegraf directories
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2021-10-03 13:19:37 +02:00
parent 8dc9056308
commit e706bc53c5
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -22,6 +22,16 @@
loop:
- telegraf
- name: Ensure Telegraf directories exist
file:
path: "{{ item }}"
state: directory
owner: telegraf
group: telegraf
mode: 0750
loop:
- /etc/telegraf/.cache/snowflake
- name: Copy custom Telegraf template files
template:
src: "{{ item }}"