fix: create missing telegraf directories
continuous-integration/drone/push Build is passing Details

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
1 changed files with 10 additions and 0 deletions

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 }}"