Commit graph

63 commits

Author SHA1 Message Date
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
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
gardar
bf1d349d02
refactor(blackbox_exporter): delegate common tasks to _common role
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-15 17:02:22 +00:00
gardar
3b679c9161
fix: skip running testinfra on excluded ansible versions
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-20 19:48:18 +00:00
gardar
7be1f09b9c
fix: add Ubuntu 24.04 to supported platforms
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-13 14:06:14 +00:00
gardar
93d4e2b672
fix: replace EOL Fedora versions with current ones
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-13 14:06:14 +00:00
gardar
f668cd0ac4
removed: drop centos 7 support as it is EOL
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-13 14:06:14 +00:00
gardar
94fb802ec2
removed: drop debian 10 support as it is EOL
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-13 14:06:13 +00:00
Emmanuel Bilheude
edec9daf5b [fix] (blackblox-exporter) Update hardcoded install path
Signed-off-by: Emmanuel Bilheude <ebilheude@dotscreen.com>
2024-05-14 14:24:15 +02:00
prombot
be6935bf48 patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2024-04-09 14:28:42 +00:00
Mark Tomich
d25f772f5f adding *_archive_path by request
Signed-off-by: Mark Tomich <tomichms@nih.gov>
2024-02-29 13:21:57 -05:00
Mark Tomich
32d15d4361 Setting one archive_path per role and setting default values
Signed-off-by: Mark Tomich <tomichms@nih.gov>
2024-02-29 10:55:40 -05:00
Mark Tomich
5150409d55 allowing for the specification of a prometheus_archive_path other than
`/tmp`

Signed-off-by: Mark Tomich <tomichms@nih.gov>
2024-02-28 10:40:41 -05:00
SuperQ
954a01d17c
fix: Don't reload services when restarting
Avoid triggering a reload of various role services when a restart is
needed. This avoids the race between restart and reload.

Signed-off-by: SuperQ <superq@gmail.com>
2024-01-29 13:57:34 +01:00
Ben Kochie
91b5781591
fix: Use repo var for preflight (#258)
Use the per-role repo var consistently in the preflight GitHub API URLs.

Signed-off-by: SuperQ <superq@gmail.com>
2023-12-07 16:39:08 +01:00
gardar
002e5b3675
Merge pull request #213 from idiv-biodiversity/alertmanager/multiple-web-listen-addresses
enhancement: allows using multiple web listen addresses
2023-11-30 15:07:47 +00:00
Christian Krause
4897b20b47
enhancement(blackbox_exporter): allows using multiple web listen addresses
Signed-off-by: Christian Krause <christian.krause@idiv.de>
2023-11-30 11:12:11 +01:00
SuperQ
588807e4d8
feat(blackbox_exporter) Create config directory
Follow the pattern of other exporters and create the configuration file
in `/etc/blackbox_exporter` by default.

Signed-off-by: SuperQ <superq@gmail.com>
2023-11-28 22:37:04 +01:00
ScarletBlizzard
df657ed815
Fix typo
Signed-off-by: ScarletBlizzard <61126210+ScarletBlizzard@users.noreply.github.com>
2023-10-24 13:18:12 +03:00
Thomas Venieris
8c52c4df29
fix: blackbox_exporter ansible-lint risky-octal (#174)
Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
2023-08-26 06:19:15 +02:00
Ben Kochie
0907b14def
fix: Make binary installs consistent (#204)
Update the blackbox_exporter and snmp_exporter installs to be consistent
with other exporter package installs.

Signed-off-by: SuperQ <superq@gmail.com>
2023-08-25 16:35:24 +02:00
gardar
07d39f8a13
Merge branch 'main' into fedora-38
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-22 13:42:43 +00:00
gardar
7c77244527
Merge pull request #200 from gardar/eol-fedora-36
removed: Drop fedora 36 support as it is EOL
2023-08-22 09:07:58 +00:00
gardar
d6f370be8d
minor: support fedora 38
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-22 02:17:03 +00:00
gardar
422ef282fa
removed: Drop fedora 36 support as it is EOL
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-22 02:06:01 +00:00
gardar
49860ae607
removed: Drop ubuntu 18.04 support as it is EOL
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-22 02:02:26 +00:00
gardar
d9e0c77bfb
skip_changelog: merge all role molecule converge into one
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-18 19:03:40 +00:00
gardar
083ff4ef36
skip_changelog: make testinfra tests capture logs on service failure
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-18 15:47:32 +00:00
Ben Kochie
100b6e2070
fix: Add test for argument_specs matching (#177)
* fix: Add test for argument_specs matching

Compare contents of `meta/arguments_spec.yml` against `defaults/main.yml` on
each role to make sure keys match.

Signed-off-by: SuperQ <superq@gmail.com>

* Fixup arguments_spec linting issues.

Signed-off-by: SuperQ <superq@gmail.com>

---------

Signed-off-by: SuperQ <superq@gmail.com>
2023-08-16 17:49:02 +02:00
Thomas Venieris
791b9b1290
feature: Make config installation dir configurable (#173)
* feature: Make config installation dir configurable

Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>

* fix: blackbox_exporter_config_dir consistent

- Made blackbox_exporter_config_dir parameter consistent with other
  collection roles
- Added new parameter to meta/argument_specs.yml

Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>

---------

Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>
2023-07-29 17:43:24 +02:00
Thomas Venieris
c0eb6bb516
feature: blackbox exporter user/group configurable (#172)
Also, binary and configuration owner is changed to root.
User blackbox-exp should be prevented from modifying or deleting either
the configuration or itself, according to the principle of least
privilege.

Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>
2023-07-29 10:30:39 +02:00
prombot
c52fb78fbf patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-06-01 14:27:51 +00:00
Jonathan Mabit
7047669da7 fix: Install package fact dependencies needs to be run as root
Signed-off-by: Jonathan Mabit <jonathan.mabit@dametis.com>
2023-05-25 13:43:24 +02:00
gardar
927ec4ede4
Merge pull request #87 from laurent-indermuehle/lie_add_tags_support_for_included_tasks
fix: tags support for included tasks
2023-05-03 12:03:55 +00:00
Laurent Indermuehle
f0973a0dbc
Add apply tags for all included tasks files
Signed-off-by: Laurent Indermuehle <laurent.indermuehle@epfl.ch>
2023-04-27 09:36:20 +02:00
gardar
9e64a645db
fix: document supported platform versions
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-04-26 18:23:29 +00:00
gardar
d53f2cbd03
fix: supported platforms in beta
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-04-26 17:20:32 +00:00
gardar
2a1123ad94
docs: avoid maintaining variable documentation in many places
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-04-11 14:48:13 +00:00
Christian Brabandt
742ce8b3ae
enhancement(blackbox): add skip_install variable
This is similar to prometheus_skip_install variable and does what the
name says: when set, it won't try to re-download blackbox_exporter
binary

Also, fix a small typo in the preflight task.

Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-03-21 15:34:17 +01:00
prombot
7522f150ae
Fixup version bumper job
Move role repo discovery to a script to avoid shell escaping issues.
* Fix up argument_specs.yml.

Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-03-14 07:19:57 +01:00
Ben Kochie
a09941b753
skip-release: Add workflow to auto-update versions (#48)
Add a script and workflow to automatically check for upstream releases
and create PRs to update the associated role.

Signed-off-by: SuperQ <superq@gmail.com>
2023-03-11 16:35:19 +01:00
gardar
6fa5e0528a
fix: install package_facts dependencies
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-08 18:03:00 +00:00
gardar
e02e6a5976
refactor: avoid using command module for systemd version fact
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-08 18:03:00 +00:00
gardar
f7d687aebf
fix: cleanup unused vars files
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-08 16:18:35 +00:00
prombot
861747162a
Disable line-length check in arguments_specs
Allow long lines in the arguments_spec to avoid line wrapping. This
allows the files to be processed with `yq` without constant diffs and
errors.

Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-03-08 08:15:06 +01:00
gardar
f9ccb4dcd0
fix: remove elements from dict spec
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-06 22:18:35 +00:00
Andy Grunwald
7bc4f474e3
docs: Remove references to to previous named ansible collection cloudalchemy
The repository is a migration from https://github.com/cloudalchemy/ansible-node-exporter.
The previous repository has been marked as archived already.

Signed-off-by: Andy Grunwald <andygrunwald@gmail.com>
2023-03-06 09:59:42 +01:00
gardar
07fa36a238
docs: add argument specs for blackbox_exporter
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-05 09:51:57 +00:00
gardar
9de5b0518d
refactor: support customizing blackbox_exporter url/mirror
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-02 12:49:34 +00:00