on FreeBSD the telegeraf.conf is in root of /usr/local/etc. so i changed the telegraf_agent_config_path. now the telegraf rc scripts finds the right config and now error about missing directories is thrown.

This commit is contained in:
Markus Langer
2019-05-01 10:03:08 +02:00
parent 852cfaa55e
commit ab68b6813b

View File

@ -8,7 +8,7 @@
- name: "Add prefix path"
set_fact:
telegraf_agent_config_path: /usr/local/etc/telegraf
telegraf_agent_config_path: /usr/local/etc
when:
- ansible_os_family == "FreeBSD"