Commit graph

88 commits

Author SHA1 Message Date
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
Ilari Iso-Junno
9812360144 enhancement: support ansible-vaulted basic auth passwords
If ansible-vaulted password is passed to password_hash filter, it will throw and error:
'secret must be unicode or bytes, not ansible.parsing.yaml.objects.AnsibleVaultEncryptedUnicode'
Handling the vaulted password with string filter first will avoid the problem.

Signed-off-by: Ilari Iso-Junno <iisojunn@users.noreply.github.com>
2023-04-12 10:45:46 +03: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
4d6dd210b9
enhancement(systemd_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 SystemD exporter
binary

Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-03-21 15:56:18 +01:00
Christian Brabandt
6dc879d5f5
enhancement(snmp_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 snmp exporter
binary

Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-03-21 15:54:18 +01: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
Christian Brabandt
ba3be35fe7
enhancement(mysqld): 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 mysqld exporter
binary

Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-03-21 15:54:17 +01: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
Christian Brabandt
54e98d3a72
enhancement(alertmanager): 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 alertmanager binaries

Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-03-21 15:34:17 +01:00
gardar
4bd1d504a3
Merge pull request #71 from alkinks/node_exporter_systemd_template_fix
fix: correct quotation of flags in systemd config file
2023-03-21 10:41:11 +00:00
Ben Kochie
bf538d2088
Merge pull request #43 from andygrunwald/node-exporter-mark-latest-as-value
docs: Quote value latest to be explicit about the possible value for node_exporter_version
2023-03-21 09:43:37 +01:00
Andrew Kingston
7437ac0a64 fix: correct quotation of flags in systemd config file
Correct the quotation around the collector option flags and values
in the node_exporter role systemd unit config file template so that
regex values get parsed correctly.

Refs: #68
Signed-off-by: Andrew Kingston <andrew.kingston@framestore.com>
2023-03-20 12:27:42 +00:00
Andrew Kingston
a2fa58b772 fix: remove quotation of flags in systemd config file
Remove the quotation around the collector option flags and values
in the node_exporter role systemd unit config file template so that
regex values get parsed correctly.

Refs: #68
Signed-off-by: Andrew Kingston <andrew.kingston@framestore.com>
2023-03-20 12:27:42 +00:00
Andrew Kingston
ebae6c7610 fix: correct quotation of flags in systemd config file
Correct the quotation around the collector option flags and values
in the node_exporter role systemd unit config file template so that
regex values get parsed correctly.

Refs: #68
Signed-off-by: Andrew Kingston <andrew.kingston@framestore.com>
2023-03-20 12:27:42 +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
87fefdf92c
Merge pull request #69 from gardar/ci/auto-generate-docs
docs: add workflow for auto generating ansible docs
2023-03-14 19:38:57 +00:00
gardar
dfac7aba33
Merge pull request #67 from prometheus-community/superq/version_bump_fix
Fixup version bumper job
2023-03-14 09:41:22 +00: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
SuperQ
af8fc8fd9e
feat: Add mysqld_exporter role
Add a role for deploying the mysqld_exporter.

Signed-off-by: SuperQ <superq@gmail.com>
2023-03-13 21:08:38 +01:00
gardar
ce865a64b2
fix: url formatting
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-13 19:26:38 +00: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
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
66ebc96aa2
Merge pull request #52 from gardar/systemd-version-facts
refactor: avoid using command module for systemd version fact
2023-03-10 01:36:28 +00: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
gardar
d3a147f7d8
fix: upstream is now at prometheus-community
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-09 15:08:23 +00:00
gardar
210514d4b7
fix: policycoreutils package name typo
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-09 15:05:28 +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
8e4d36c7b7
fix: remove unsupported warn paramater
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-09 01:49:29 +00:00
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