Commit graph

124 commits

Author SHA1 Message Date
francisco-core
82adcbafb2 Fix 404 TLS auth links
Signed-off-by: francisco-core <32313429+francisco-core@users.noreply.github.com>
2023-08-16 12:19:24 +00:00
Thomas Venieris
791b9b1290
feature: Make config installation dir configurable (#173)
* feature: Make config installation dir configurable

Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>

* fix: blackbox_exporter_config_dir consistent

- Made blackbox_exporter_config_dir parameter consistent with other
  collection roles
- Added new parameter to meta/argument_specs.yml

Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>

---------

Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>
2023-07-29 17:43:24 +02:00
Thomas Venieris
76497d34bd
fix ansible-lint: risky-octal & no-same-owner (#171)
Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>
2023-07-29 10:31:08 +02:00
Thomas Venieris
c0eb6bb516
feature: blackbox exporter user/group configurable (#172)
Also, binary and configuration owner is changed to root.
User blackbox-exp should be prevented from modifying or deleting either
the configuration or itself, according to the principle of least
privilege.

Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>
2023-07-29 10:30:39 +02:00
Thomas Venieris
a95bc9c3e1
Fix mysqld_exporter world-readable secrets (#169)
The mysqld_exporter config includes a MySQL user passsword and the web
config may include htpasswd hashes. Don't allow everyone to peek them.

Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>
2023-07-28 09:53:31 +02:00
jmills
9f9bd6830f
Fix: systemd_exporter - rename collector flags (#167)
* Fix systemd_exporter vars to match the exporter flags

---------

Signed-off-by: Jeremy Miller <runofthemill@users.noreply.github.com>
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: prombot <prometheus-team@googlegroups.com>
Co-authored-by: SuperQ <SuperQ@users.noreply.github.com>
2023-07-26 15:26:04 +02: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
github-actions[bot]
ef105aa4f9
patch: 🎉 automated upstream release update (#162)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Co-authored-by: prombot <prometheus-team@googlegroups.com>
2023-07-23 10:33:34 +02:00
Janos Tassy
f02bf8db0e
fix: mysqld_exporter should actually respect the mysqld_exporter_host variable (#88)
Signed-off-by: Ben Kochie <superq@gmail.com>
2023-07-06 11:16:05 +02:00
Ben Kochie
c608b0f1b9
Merge pull request #153 from prometheus-community/autoupdate/mysqld_exporter/0.15.0
patch: New prometheus/mysqld_exporter upstream release!
2023-07-06 11:06:09 +02:00
Ben Kochie
85e6754638
Merge pull request #146 from prometheus-community/autoupdate/snmp_exporter/0.22.0
patch: New prometheus/snmp_exporter upstream release!
2023-07-06 11:04:31 +02:00
prombot
9bb137c721 patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-06-26 14:32:10 +00: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
bc9a03a1f8 patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-06-17 14:26:38 +00:00
Ben Kochie
b95f9e9d7f
Merge pull request #143 from prometheus-community/autoupdate/alertmanager/0.25.0
patch: New prometheus/alertmanager upstream release!
2023-06-01 17:04:43 +02:00
Ben Kochie
f22ee2f90b
Merge pull request #140 from prometheus-community/autoupdate/prometheus/2.44.0
patch: New prometheus/prometheus upstream release!
2023-06-01 17:04:26 +02:00
Ben Kochie
12ea8fddff
Merge pull request #141 from prometheus-community/autoupdate/systemd_exporter/0.5.0
patch: New prometheus-community/systemd_exporter upstream release!
2023-06-01 17:04:08 +02:00
Ben Kochie
74f5a8916b
Merge pull request #142 from prometheus-community/autoupdate/snmp_exporter/0.21.0
patch: New prometheus/snmp_exporter upstream release!
2023-06-01 17:03:50 +02:00
Ben Kochie
cc6ff2aef1
Merge pull request #139 from prometheus-community/autoupdate/blackbox_exporter/0.24.0
patch: New prometheus/blackbox_exporter upstream release!
2023-06-01 16:44:08 +02:00
prombot
961a29b139 patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-06-01 14:27:55 +00:00
prombot
39a6de030a patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-06-01 14:27:54 +00:00
prombot
2440160ca7 patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-06-01 14:27:53 +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
prombot
c52fb78fbf patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-06-01 14:27:51 +00:00
prombot
7a39a41196 patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-06-01 14:27:50 +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
Logan Pulley
456d8ac946
fix: always create config file
Signed-off-by: Logan Pulley <logan@pulley.host>
2023-05-21 15:12:35 -05:00
John Losito
1603bad426
Fix broken link to systemd exporter on docs
Signed-off-by: John Losito <lositojohnj@gmail.com>
2023-05-17 09:57:33 -04: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
Kevin Bowrin
be0a877b00
node_exporter: Fix Systemd ProtectHome option in service unit
Fixes an issue with the jinja2 snippet which is used to create the node_exporter Systemd unit. More details here: https://github.com/prometheus-community/ansible/issues/13

Jinja2 namespaces are used to ensure the variable `protect_home` can be set in the parent scope of the `for` loop looking through the mounts.

Signed-off-by: Kevin Bowrin <kevinbowrin@cunet.carleton.ca>
2023-05-09 16:13:50 -04:00
Sébastien
7f1dd8ad51
Add "become: true" to snmp_exporter handlers
Signed-off-by: Sébastien <5331611+sebbbastien@users.noreply.github.com>
2023-05-05 18:06:34 +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
d10a9292d7
fix: yaml indentation of tags inside apply
Signed-off-by: Laurent Indermuehle <laurent.indermuehle@epfl.ch>
2023-04-27 09:36:21 +02: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
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