Commit graph

405 commits

Author SHA1 Message Date
Jack
b7739e1010 update default home directory
Signed-off-by: Jack <jack4zhang@gmail.com>
2024-10-29 19:12:14 +08:00
gardar
e2d8b745dc
Merge pull request #377 from manzsolutions-lpr/fix-scrape-config-path
fix: scrape config files path
2024-10-25 16:46:18 +00:00
Namjae Kim
99c72c868b fix: make sure binary install dir exists
Signed-off-by: Namjae Kim <namjae.kim@namsic.dev>
2024-10-23 18:59:02 +00:00
dobbi84
73b4b702cb docs: update influxdb/README
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
dobbi84
552115a917 chore: fix test default with correct home
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
dobbi84
b82722cbd6 chore: lint spec file
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
dobbi84
2d418a3d64 fix: include config dir otherwise commons uses root
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
dobbi84
6533e31eea chore: linter
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
dobbi84
031b5c3ded chore: linter
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
Davide Obbi
e13fd003da Update roles/influxdb_exporter/meta/argument_specs.yml
Co-authored-by: gardar <gardar@users.noreply.github.com>
Signed-off-by: Davide Obbi <126786027+dobbi84@users.noreply.github.com>
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
Davide Obbi
894efb44a1 Update roles/influxdb_exporter/tasks/preflight.yml
Co-authored-by: gardar <gardar@users.noreply.github.com>
Signed-off-by: Davide Obbi <126786027+dobbi84@users.noreply.github.com>
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
Davide Obbi
776211cfcb Update roles/influxdb_exporter/tasks/preflight.yml
Co-authored-by: gardar <gardar@users.noreply.github.com>
Signed-off-by: Davide Obbi <126786027+dobbi84@users.noreply.github.com>
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
Davide Obbi
cc8cfda920 Update roles/influxdb_exporter/tasks/preflight.yml
Co-authored-by: gardar <gardar@users.noreply.github.com>
Signed-off-by: Davide Obbi <126786027+dobbi84@users.noreply.github.com>
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
Davide Obbi
a341529748 Update roles/influxdb_exporter/meta/main.yml
Co-authored-by: gardar <gardar@users.noreply.github.com>
Signed-off-by: Davide Obbi <126786027+dobbi84@users.noreply.github.com>
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
Davide Obbi
dadbd12a25 Update roles/influxdb_exporter/meta/argument_specs.yml
Co-authored-by: gardar <gardar@users.noreply.github.com>
Signed-off-by: Davide Obbi <126786027+dobbi84@users.noreply.github.com>
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
Davide Obbi
39af89660f Update roles/influxdb_exporter/meta/argument_specs.yml
Co-authored-by: gardar <gardar@users.noreply.github.com>
Signed-off-by: Davide Obbi <126786027+dobbi84@users.noreply.github.com>
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
Davide Obbi
941bc4dc46 Update roles/influxdb_exporter/defaults/main.yml
Co-authored-by: gardar <gardar@users.noreply.github.com>
Signed-off-by: Davide Obbi <126786027+dobbi84@users.noreply.github.com>
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
Davide Obbi
48ac76f0f9 Update roles/influxdb_exporter/molecule/alternative/molecule.yml
Co-authored-by: gardar <gardar@users.noreply.github.com>
Signed-off-by: Davide Obbi <126786027+dobbi84@users.noreply.github.com>
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
dobbi84
ccad1f4143 chore: fix post review on refactor for _commons role
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
Davide Obbi
9cd3949895 Update roles/influxdb_exporter/vars/main.yml
Co-authored-by: gardar <gardar@users.noreply.github.com>
Signed-off-by: Davide Obbi <126786027+dobbi84@users.noreply.github.com>
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
Davide Obbi
40fa0afcd3 Update roles/influxdb_exporter/molecule/alternative/molecule.yml
Co-authored-by: gardar <gardar@users.noreply.github.com>
Signed-off-by: Davide Obbi <126786027+dobbi84@users.noreply.github.com>
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
Davide Obbi
b4fc64528b Update roles/influxdb_exporter/defaults/main.yml
Co-authored-by: gardar <gardar@users.noreply.github.com>
Signed-off-by: Davide Obbi <126786027+dobbi84@users.noreply.github.com>
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
dobbi84
6532e4745e chore: refactor for _common role
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
dobbi84
02aefecad2 chore: align molecule tests to use get_target_hosts()
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
dobbi84
10d70f06a4 chore: fix alternative listen address in integration tests
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
dobbi84
e22cd9f9f1 chore: remove molecule directory check for dir not created
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
dobbi84
745154f8d5 chore: include vars go_arch and go_arch_map needed for getting the exporter from GH
Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
dobbi84
ad51f0b088 feat: include influxdb exporter role
Include the [Influxdb exporter](https://github.com/prometheus/influxdb_exporter) role.

Signed-off-by: dobbi84 <davide.obbi@e4company.com>
2024-10-23 17:53:10 +00:00
Sverre H. Huseby
da3b5776bd fix(test): do not consider idempotence when running Molecule (as before this PR)
Signed-off-by: Sverre H. Huseby <shh@thathost.com>
2024-10-23 13:19:30 +02:00
Sverre H. Huseby
a9bc6d7ffe fix(blackbox): make capability setting idempotent
Signed-off-by: Sverre H. Huseby <shh@thathost.com>
2024-10-23 12:20:56 +02:00
gardar
52952abc7a
fix: remove unused variable
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-21 10:34:40 +00:00
gardar
e3d715d5fa
fix: prevent local binary cache creation with elevated privileges
fixes #427

Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-18 16:26:19 +00:00
gardar
0e58f43a65
Merge pull request #431 from santilococo/main
fix: add check_mode in localhost binary cache task
2024-10-18 15:37:28 +00:00
gardar
e2ebdffb8d
Merge pull request #432 from gardar/trim-down-platforms
removed: CentOS Stream and Fedora from being officially supported
2024-10-18 15:33:56 +00:00
gardar
d7ed763594
removed: Drop Fedora support and testing in favor of EL
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-18 13:41:24 +00:00
Santiago Lo Coco
2fb538c915
fix: add check_mode in localhost binary cache task
Signed-off-by: Santiago Lo Coco <santilococo.01@gmail.com>
2024-10-18 12:21:08 +00:00
gardar
e8da64e426 fix: don't modify system user or group if they already exist
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-17 17:54:17 +00:00
Leonhard Mayr
549ca653fa
Remove replaced "scrapes" folder
Signed-off-by: Leonhard Mayr <leonhard.mayr@manz.at>
2024-10-17 17:25:17 +02:00
Leonhard Mayr
b7cbef892e
Rename directory to scrape_configs
Signed-off-by: Leonhard Mayr <leonhard.mayr@manz.at>
2024-10-17 17:25:17 +02:00
Leonhard Mayr
b958d82dcd
Add test for scrape config files
Signed-off-by: Leonhard Mayr <leonhard.mayr@manz.at>
2024-10-17 17:25:17 +02:00
Leonhard Mayr
2d805ae8d0
Reload prometheus on file changes
Signed-off-by: Leonhard Mayr <leonhard.mayr@manz.at>
2024-10-17 17:25:17 +02:00
Leonhard Mayr
fb388d168c
Fix scrape config files path
Signed-off-by: Leonhard Mayr <leonhard.mayr@manz.at>
2024-10-17 16:54:53 +02:00
gardar
cc205a35d2
Merge pull request #155 from atishaninov-xometry/pidfile-path
fix: alertmanager deprecated PIDFile= path warning
2024-10-17 13:38:49 +00:00
gardar
5e220e5f40
refactor(systemd_exporter): delegate common tasks to _common role
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-15 17:15:24 +00:00
gardar
1173d1ada7
refactor(snmp_exporter): delegate common tasks to _common role
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-15 17:13:47 +00:00
gardar
b90cb5bfe4
refactor(smokeping_prober): delegate common tasks to _common role
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-15 17:13:08 +00:00
gardar
0da12f7cdc
refactor(smartctl_exporter): delegate common tasks to _common role
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-15 17:12:36 +00:00
gardar
a6700b7726
refactor(redis_exporter): delegate common tasks to _common role
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-15 17:12:07 +00:00
gardar
e5005614b2
refactor(pushgateway): delegate common tasks to _common role
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-15 17:11:35 +00:00
gardar
1e4e4c3415
refactor(prometheus): delegate common tasks to _common role
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-15 17:11:12 +00:00