Commit graph

428 commits

Author SHA1 Message Date
prombot
038636ed5f patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-11-18 14:37:19 +00:00
Ben Kochie
818d67cd2e
feat: Support Prometheus 3.0 (#462)
Update prometheus role for 3.0.0.
* Update argument_specs.yml to reflect support of 3.x.
* Skip console templates on 3.x.

Fixes: https://github.com/prometheus-community/ansible/issues/460

Signed-off-by: SuperQ <superq@gmail.com>
2024-11-18 14:44:55 +01:00
gardar
2faef08081
fix: remove old internal variable remnants
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-11-08 13:46:42 +00:00
gardar
3dacdab829
Merge pull request #449 from gardar/scrapes-removal-become
fix: use elevated permissions for removing scrapes dir
2024-10-31 16:52:31 +00:00
gardar
35a94aa6fb
Merge pull request #448 from gardar/nvidia_gpu_exporter/listen-address-assert
refactor(nvidia_gpu_exporter): move naive assertion to common role
2024-10-31 16:41:38 +00:00
gardar
e4384eba3a
Merge pull request #333 from dpavle/main
enhancement(prometheus): support prometheus2 .yml rule file format
2024-10-31 16:33:18 +00:00
gardar
cf1f68c6ba fix: properly tag task
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-31 16:29:20 +00:00
gardar
e1510bc1b6 fix: use elevated permissions for removing scrapes
fixes #445

Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-31 16:29:20 +00:00
gardar
8e9ad10953 fix: lint
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-31 16:28:46 +00:00
gardar
3c92350df8 refactor: use naive assertion of proper listen address from _common role
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-31 16:28:46 +00:00
gardar
007c8a432c
Merge pull request #443 from zhan9san/feature/move-naive-assertion-to-common-role
refactor: move naive assertion to common role
2024-10-31 15:41:20 +00:00
Pavle
e04558d143 Merge branch 'main' into main 2024-10-30 18:53:28 +01:00
Jack
2ec62b392b feat: move naive assertion to common role
Signed-off-by: Jack <jack4zhang@gmail.com>
2024-10-30 09:53:00 +08:00
gardar
db4a8a620e
Merge pull request #441 from zhan9san/feature/add-nvidia-gpu-exporter
feat: Add nvidia_gpu_exporter
2024-10-29 17:26:07 +00:00
Jack
5bba79eb9d
Update roles/_common/tasks/install.yml
Co-authored-by: gardar <gardar@users.noreply.github.com>
Signed-off-by: Jack <jack4zhang@gmail.com>
2024-10-29 20:12:09 +08:00
Jack
5e6c551656 Add nvidia_gpu_exporter
Signed-off-by: Jack <jack4zhang@gmail.com>
2024-10-29 20:03:48 +08:00
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