Commit graph

34 commits

Author SHA1 Message Date
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
Leonhard Mayr
60fe2d4332
Use system group variable
Signed-off-by: Leonhard Mayr <leonhard.mayr@manz.at>
2024-05-29 08:10:32 +02:00
Zdeněk Bělehrádek
0d07f6e57e Added prometheus scrape_config_files support
Signed-off-by: Zdeněk Bělehrádek <zdenek.belehradek@ataccama.com>
2024-05-28 15:56:40 +02:00
gardar
da146e07d2
Merge pull request #301 from mark-tomich/main
bugfix: use temporary directory to make compatible with multi-user controllers
2024-03-05 15:08:32 +00: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
Mahendra Paipuri
cf1a5dbece
chore: Configurable prometheus system user, group (#307)
Signed-off-by: Mahendra Paipuri <mahendra.paipuri@gmail.com>
2024-02-29 09:50:15 +01: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
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
Christian Krause
762cb1d5f3
enhancement(prometheus): supports multiple web listen addresses in preflight
this is for consistency with the other roles' preflight asserts for when
prometheus itself finally supports multiple web listen addresses

Signed-off-by: Christian Krause <christian.krause@idiv.de>
2023-11-30 11:12:11 +01:00
Stan Rudenko
f637d5f7c9
removing prometheus_rules_enable, minor fixes
Signed-off-by: Stan Rudenko <stan@truera.com>
2023-08-24 10:24:56 -07:00
gardar
82d0c730ed
fix: correctly set no_log bool instead of string
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-21 15:17:27 +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
6231861c44
fix: pass token to github api for higher ratelimit
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-04-26 15:40:32 +00:00
prombot
e39934bc49
fix: Don't log config deployments
Avoid logging on some config files may contain secrets.

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

Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-03-17 11:34:30 +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
70c1e9b63a
fix: lint
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
3ca1ff31b1
fix: add metrics path to argument specs
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-06 22:18:35 +00:00
Ben Kochie
caf778650e
Merge pull request #28 from gardar/custom-url-mirror
feat: Allow grabbing binaries and checksums from a custom url/mirror
2023-03-03 07:41:04 +01:00
Paul Arthur
89ec2ce0f7 Remove unnecessary extra dependency
This is fairly straightforward manipulation to do with standard Jinja
features.

Signed-off-by: Paul Arthur <paul.arthur@flowerysong.com>
2023-03-02 21:16:47 +00:00
gardar
e57ae9b9d7
refactor: support customizing prometheus url/mirror
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-02 12:49:34 +00:00
gardar
4eace3831e
fix: avoid hitting api rate limit in lookups
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-14 01:00:49 +00:00
gardar
39213cfd13
fix: copy module supports content param, not template module
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:42:15 +00:00
gardar
310c1e68cf
style: fix lint
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:05:01 +00:00
gardar
1b3f19e2be
fix: avoid spaces when doing line breaks on long urls
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 18:58:59 +00:00
gardar
b2d9aa565a
fix: lint
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-12-08 18:02:13 +00:00
gardar
8c9a456880
fix: fqcn slipped in as module parameters
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-12-08 18:02:13 +00:00
gardar
2529617e41
fix(lint): fix all linter exceptions and remove exception rules
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-11-25 15:39:18 +00:00
gardar
2c075e3b15
fix(lint): warning lint errors
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-11-25 15:39:18 +00:00
gardar
e99b807340
fix(lint): fatal lint errors
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-11-25 15:39:17 +00:00
SuperQ
1d98aee69a
Fix up ansible-lint issues.
Signed-off-by: SuperQ <superq@gmail.com>
2022-09-24 10:55:09 +02:00
Paweł Krupa (paulfantom)
dcfbfa84d2 initial migration of roles from cloudalchemy
Signed-off-by: Paweł Krupa (paulfantom) <pawel@krupa.net.pl>
2022-09-23 13:29:55 +02:00