diff --git a/tasks/setup.yml b/tasks/setup.yml index b3ee813..7c2ee08 100644 --- a/tasks/setup.yml +++ b/tasks/setup.yml @@ -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 }}"