fix: include config dir otherwise commons uses root

Signed-off-by: dobbi84 <davide.obbi@e4company.com>
This commit is contained in:
dobbi84 2024-10-18 18:16:15 +02:00 committed by gardar
parent 6533e31eea
commit 2d418a3d64
2 changed files with 2 additions and 0 deletions

View file

@ -17,5 +17,6 @@ influxdb_exporter_binary_install_dir: "/usr/local/bin"
influxdb_exporter_system_group: "influxdb-exp"
influxdb_exporter_system_user: "{{ influxdb_exporter_system_group }}"
influxdb_exporter_config_dir: "/etc/influxdb_exporter"
# Local path to stash the archive and its extraction
influxdb_exporter_local_cache_path: "/tmp/influxdb_exporter-{{ ansible_system | lower }}-{{ _influxdb_exporter_go_ansible_arch }}/{{ influxdb_exporter_version }}"

View file

@ -23,6 +23,7 @@
_common_checksums_url: "{{ influxdb_exporter_checksums_url }}"
_common_system_group: "{{ influxdb_exporter_system_group }}"
_common_system_user: "{{ influxdb_exporter_system_user }}"
_common_config_dir: "{{ influxdb_exporter_config_dir }}"
_common_binary_unarchive_opts: ['--strip-components=1']
tags:
- influxdb_exporter