From ab68b6813bfc981e1e541ffa9559d73029b10bb2 Mon Sep 17 00:00:00 2001 From: Markus Langer Date: Wed, 1 May 2019 10:03:08 +0200 Subject: [PATCH] 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. --- tasks/configure_linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/configure_linux.yml b/tasks/configure_linux.yml index 2038299..a1ef07e 100644 --- a/tasks/configure_linux.yml +++ b/tasks/configure_linux.yml @@ -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"