Commit graph

108 commits

Author SHA1 Message Date
gardar
563c6121d2
fix(lint): define mode
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-09 01:30:36 +00:00
gardar
18a24d2e8d
fix: duplicate become definition
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-09 01:27:27 +00:00
gardar
bbb131056d
feat: add systemd exporter role
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-09 01:20:32 +00: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
f7d687aebf
fix: cleanup unused vars files
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-08 16:18:35 +00:00
gardar
f919f53abf
Merge pull request #58 from prometheus-community/superq/arg_newlines
refactor: Disable line-length check in arguments_specs
2023-03-08 13:03:39 +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
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
081f7797a7
fix: add binary/checksum urls to argument specs
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-06 22:18:35 +00: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
Andy Grunwald
92cb8461a7
docs: Quote value latest to be explicit about the possible value for node_exporter_version
In the docs, the value "latest" was written as a normal string.
By quoting it via `, it marks it explicit as a possible value to accept for node_exporter_version.
Otherwise, it is easy overlooked as acceptable value.

Signed-off-by: Andy Grunwald <andygrunwald@gmail.com>
2023-03-05 11:13:47 +01:00
gardar
37de139b6c
docs: add alertmanager argument specs
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-05 09:51:57 +00:00
gardar
3874d05931
docs: add node_exporter argument specs
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-05 09:51:57 +00:00
gardar
4026a0cb85
docs: add snmp_exporter argument specs
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-05 09:51:57 +00: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
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
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
gardar
7f81fc0216
refactor: support customizing snmp_exporter url/mirror
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-02 12:49:34 +00: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
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
9f4c0243e5
refactor: support customizing alertmanager 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
59eb8438fa
fix: role test requirements
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:45:10 +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
77388aa56b
fix: avoid false idempotence with capabilities module
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-01-11 19:40:03 +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
Ben Kochie
1e41dec0dc
Merge pull request #10 from cudevmaxwell/issue-9
node_exporter: Change command parameters for ansible 2.14 compatibility
2022-12-24 20:34:23 +01:00
Ben Kochie
bed08e8a45
Merge pull request #12 from cudevmaxwell/issue-11
node_exporter: Fix broken config file CLI flag name
2022-12-24 18:47:28 +01:00
Kevin Bowrin
5d47937e3b
node_exporter: Support filesystems mounted under '/home'
Set systemd's ProtectHome to 'read-only' instead of
'yes' if there exists filesystems which are mounted
at or under '/home', instead of at '/home' exclusively.

Fixes #13.

Signed-off-by: Kevin Bowrin <kevinbowrin@cunet.carleton.ca>
2022-12-23 16:08:26 -05: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
Kevin Bowrin
3fb29ee4b8
Fix broken config file CLI flag name
Fixes #11.

Uses a version test to ensure backwards compatibility.

Signed-off-by: Kevin Bowrin <kevinbowrin@cunet.carleton.ca>
2022-12-23 14:15:07 -05: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
gardar
eebe082cc3
fix(molecule): rename deprecated crypto modules
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