mirror of
https://github.com/dj-wasabi/ansible-telegraf.git
synced 2025-07-17 08:46:37 +00:00
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:
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
- name: "Add prefix path"
|
- name: "Add prefix path"
|
||||||
set_fact:
|
set_fact:
|
||||||
telegraf_agent_config_path: /usr/local/etc/telegraf
|
telegraf_agent_config_path: /usr/local/etc
|
||||||
when:
|
when:
|
||||||
- ansible_os_family == "FreeBSD"
|
- ansible_os_family == "FreeBSD"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user