Commit graph

32 commits

Author SHA1 Message Date
gardar
3c5d710747
refactor(node_exporter): delegate common tasks to _common role
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-15 17:08:40 +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
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
Ilari Iso-Junno
172b4bbb08
fix: conditional statement jinja2 templating warning (#266)
A new warning occurred after updating from ansible-core 2.15.4 to 2.15.8
[WARNING]: conditional statements should not include jinja2 templating
delimiters such as {{ }} or {% %}. Found: ...

Removed the jinja2 templating delimeters to fix the warning.

Signed-off-by: Ilari Iso-Junno <iisojunn@users.noreply.github.com>
Co-authored-by: Ilari Iso-Junno <iisojunn@users.noreply.github.com>
2023-12-18 16:21:26 +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
Christian Krause
2700af42da
enhancement(node_exporter): allows using multiple web listen addresses
Signed-off-by: Christian Krause <christian.krause@idiv.de>
2023-11-28 13:07:31 +01:00
SuperQ
8b04f52bd3
skip_changelog: Fixup install task names
Update names to be consistent, reflect task block.

Signed-off-by: SuperQ <superq@gmail.com>
2023-08-26 10:38:57 +02: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
Logan Pulley
456d8ac946
fix: always create config file
Signed-off-by: Logan Pulley <logan@pulley.host>
2023-05-21 15:12:35 -05:00
Anton Lugovoi
fddefacd39
issue 92: remove recurse for textfile collector dir because it causes consistent ansible changes in case there are new metric files created by other users
Signed-off-by: Anton Lugovoi <alugovoi@ordercapital.com>
2023-05-16 14:17:52 +00: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
Christian Brabandt
c1a80960f6
enhancement(node_exporter): 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 the node exporter
binary

Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-03-21 15:54:17 +01:00
gardar
837e9404d7
Merge pull request #63 from mikaellanger/fix-policycoreutils-python
fix: policycoreutils python package name
2023-03-13 18:21:39 +00:00
Ben Kochie
4f027625b3
Merge pull request #65 from gardar/fix-var-style
refactor: underscore variable prefix should be reserved...
2023-03-13 13:39:26 +01:00
gardar
585ac79c46
refactor: underscore prefix should be reserved for nonconfigurable internal variables
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-09 17:56:31 +00:00
mikaellanger
315474451d
Fix policycoreutils python package name
Signed-off-by: mikaellanger <mikael.langer@gmail.com>
2023-03-09 12:45:20 +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
Valentin Delaye
eb5812315b
fix: Fix typo on Install selinux python packages for RedHat family (#57)
Signed-off-by: Valentin Delaye <jonesbusy@gmail.com>
2023-03-08 11:43:46 +01:00
gardar
12a8260b2b
refactor: support customizing node_exporter 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
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
Kevin Bowrin
ec6c857129
Remove warn for Ansible 2.14 compatibility
Remove unnecessary warn parameter. Fixes #9.

Signed-off-by: Kevin Bowrin <kevinbowrin@cunet.carleton.ca>
2022-12-23 15:08:57 -05: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