moved telegraf config for docker to docker role

This commit is contained in:
2025-11-27 16:56:10 +01:00
parent 245c7b4eb6
commit 2b733e3e11
4 changed files with 36 additions and 7 deletions

View File

@@ -0,0 +1,7 @@
- name: docker | telegraf | copy basic config
ansible.builtin.copy:
dest: "/etc/telegraf/telegraf.d/{{ item | basename }}"
src: "{{ item }}"
with_fileglob:
- "telegraf.d/*.conf"
notify: restart_telegraf