Commit graph

118 commits

Author SHA1 Message Date
prombot
e97ad7a214 patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-10-15 14:26:45 +00:00
github-actions[bot]
032edc35e2
patch: 🎉 automated upstream release update (#215)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Co-authored-by: prombot <prometheus-team@googlegroups.com>
2023-09-30 16:24:44 +02:00
Ben Kochie
37d7956dc3
feat(prometheus): Add shutdown timeout variable (#220)
In order to allow Prometheus more time to shutdown, especially if
`memory-snapshot-on-shutdown` is used, override the default 90s systemd
shutdown timeout. Otherwise systemd will SIGKILL Prometheus.
* Use 10min shutdown timeout by default.

Signed-off-by: SuperQ <superq@gmail.com>
2023-09-27 16:30:36 +02: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
Stan Rudenko
8f6880ceba
test rebase and fixes
Signed-off-by: Stan Rudenko <stan@truera.com>
2023-08-23 10:35:26 -07:00
Stan Rudenko
f657060bef
PEP8 fix
Signed-off-by: Stan Rudenko <stan@truera.com>
2023-08-23 10:20:40 -07:00
Stan Rudenko
2fde4c9d57
template fix
Signed-off-by: Stan Rudenko <stan@truera.com>
2023-08-23 10:20:27 -07:00
Stan Rudenko
83eee4cd08
molecule support
Signed-off-by: Stan Rudenko <stan@truera.com>
2023-08-23 10:20:27 -07:00
Stan Rudenko
50a4c1da4c
flags are different for agent mode
Signed-off-by: Stan Rudenko <stan@truera.com>
2023-08-23 10:20:27 -07:00
Stan Rudenko
119bc9ad3d
agent mode support
Signed-off-by: Stan Rudenko <stan@truera.com>
2023-08-23 10:20:27 -07: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
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
gardar
65d08f8765
fix: lint
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-18 19:11:46 +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
github-actions[bot]
d12cd509c0
patch: 🎉 automated upstream release update (#168)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Co-authored-by: prombot <prometheus-team@googlegroups.com>
2023-07-25 17:43:41 +02:00
prombot
91eab860a5 patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-06-24 14:29:58 +00:00
prombot
32cde97547 patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-06-01 14:27:52 +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
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
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
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
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
gardar
837e9404d7
Merge pull request #63 from mikaellanger/fix-policycoreutils-python
fix: policycoreutils python package name
2023-03-13 18:21:39 +00:00
Mikael Langer
6394a87206 Update all occurences of python-policycoreutils
Signed-off-by: mikaellanger <mikael.langer@gmail.com>
2023-03-13 09:40:19 +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
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
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
gardar
a01fe9f10d
fix: prometheus_storage_retention_size type
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-06 22:18:35 +00:00
gardar
c62a8fbe71
fix: elements are unsupported on dict
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-06 22:18:35 +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
Andy Grunwald
afef3368dd
docs: Fix links to prometheus.io and to default settings (codefiles)
A few links to prometheus.io (escpecially config settings) have been broken.

Signed-off-by: Andy Grunwald <andygrunwald@gmail.com>
2023-03-06 09:59:43 +01:00
Andy Grunwald
38ab26df14
docs: Removed upgrade notice, because the migrated library follows a different version scheme
Because the new library (kind of) starts from fresh, the upgrade notice is not relevant anymore.

Signed-off-by: Andy Grunwald <andygrunwald@gmail.com>
2023-03-06 09:59:43 +01: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
422292ac58
docs: add argument specs for prometheus role
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-05 09:51:57 +00:00
gardar
99726d382a
fix: remove unneeded circleci script
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-03 16:27:39 +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
3227cf01ec
fix: future-import-boilerplate and metaclass-boilerplate
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:50:51 +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
364d06f294
refactor: combine molecule config
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:37:31 +00:00
gardar
92f54b4ae7
fix: remove unneeded prepare playbooks
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:30:37 +00:00
gardar
3c9df6fae7
fix: use fcqn for role names
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:27:47 +00:00
gardar
4efb8fe813
fix: use default playbook for converge
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:17:30 +00:00
gardar
77da7ab60c
style: add yamllint exception like ansible-lint
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:07:48 +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
8f326b6162
fix(lint): no need to run_once when only running against one host
Signed-off-by: gardar <gardar@users.noreply.github.com>
2022-12-08 18:02:14 +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