Commit graph

364 commits

Author SHA1 Message Date
github-actions[bot]
17c4878837
patch: 🎉 automated upstream release update (#268)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Co-authored-by: prombot <prometheus-team@googlegroups.com>
2024-01-03 16:55:25 +01:00
molpako
a38e7eed3f fix(mysqld_exporter): Change condition for mysqld_exporter_host check
Modify the condition for `mysqld_exporter_host` in the mysqld_exporter my_cnf.j2 template to address an issue where `mysqld_exporter_host: null` in roles/defaults/main.yml was not being handled correctly. The updated condition ensures the host setting logic operates properly even when `mysqld_exporter_host` is set to null.

Signed-off-by: molpako <system.222.down@gmail.com>
2024-01-03 22:57:15 +09:00
prombot
212ee3b55b patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-12-25 14:28:22 +00: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
github-actions[bot]
558b29c155
patch: 🎉 automated upstream release update (#262)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Co-authored-by: prombot <prometheus-team@googlegroups.com>
2023-12-12 15:51:21 +01:00
rezizter
6223e3b2da
enhancement: Add time_intervals to AlertManager (#251)
* enhancement: Add time_intervals to AlertManager

---------

Signed-off-by: Shaun Megaw <shaun.megaw@absa.africa>
2023-12-12 14:50:38 +01:00
gardar
2a14cd1b64
Merge pull request #261 from prometheus-community/autoupdate/snmp_exporter/0.25.0
patch: New prometheus/snmp_exporter upstream release 0.25.0!
2023-12-12 12:47:25 +00:00
gardar
74039c3395
Merge pull request #259 from prometheus-community/autoupdate/memcached_exporter/0.14.1
patch: New prometheus/memcached_exporter upstream release 0.14.1!
2023-12-12 12:39:25 +00:00
prombot
7da4b0475a patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-12-11 14:31:57 +00:00
github-actions[bot]
d208acf825
patch: 🎉 automated upstream release update (#260)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Co-authored-by: prombot <prometheus-team@googlegroups.com>
2023-12-10 14:52:27 +01:00
prombot
0c296d1ce7 patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-12-09 14:27:19 +00:00
Ben Kochie
f084b71dbc
feat: Add mecached_exporter role (#256)
Add new role: `memcached_exporter`

Signed-off-by: SuperQ <superq@gmail.com>
2023-12-08 17:57:33 +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
gardar
002e5b3675
Merge pull request #213 from idiv-biodiversity/alertmanager/multiple-web-listen-addresses
enhancement: allows using multiple web listen addresses
2023-11-30 15:07:47 +00:00
Christian Krause
c8a340e5b3
enhancement(systemd_exporter): supports multiple web listen addresses in preflight
this is for consistency with the other roles' preflight asserts for when the
exporter itself finally supports multiple web listen addresses

Signed-off-by: Christian Krause <christian.krause@idiv.de>
2023-11-30 11:12:12 +01:00
Christian Krause
5fa22913b4
enhancement(smartctl_exporter): supports multiple web listen addresses in preflight
this is for consistency with the other roles' preflight asserts for when the
exporter itself finally supports multiple web listen addresses

Signed-off-by: Christian Krause <christian.krause@idiv.de>
2023-11-30 11:12:12 +01:00
Christian Krause
762cb1d5f3
enhancement(prometheus): supports multiple web listen addresses in preflight
this is for consistency with the other roles' preflight asserts for when
prometheus itself finally supports multiple web listen addresses

Signed-off-by: Christian Krause <christian.krause@idiv.de>
2023-11-30 11:12:11 +01:00
Christian Krause
4897b20b47
enhancement(blackbox_exporter): allows using multiple web listen addresses
Signed-off-by: Christian Krause <christian.krause@idiv.de>
2023-11-30 11:12:11 +01:00
Christian Krause
09f705ad00
enhancement(smokeping_prober): allows using multiple web listen addresses
Signed-off-by: Christian Krause <christian.krause@idiv.de>
2023-11-30 11:12:11 +01:00
SuperQ
588807e4d8
feat(blackbox_exporter) Create config directory
Follow the pattern of other exporters and create the configuration file
in `/etc/blackbox_exporter` by default.

Signed-off-by: SuperQ <superq@gmail.com>
2023-11-28 22:37:04 +01:00
Christian Krause
bb45a5d23c
enhancement(chrony_exporter): allows using multiple web listen addresses
Signed-off-by: Christian Krause <christian.krause@idiv.de>
2023-11-28 13:07:31 +01:00
Christian Krause
01b437147d
enhancement(pushgateway): allows using multiple web listen addresses
Signed-off-by: Christian Krause <christian.krause@idiv.de>
2023-11-28 13:07:31 +01:00
Christian Krause
54d857d41b
enhancement(snmp_exporter): allows using multiple web listen addresses
Signed-off-by: Christian Krause <christian.krause@idiv.de>
2023-11-28 13:07:31 +01:00
Christian Krause
dce2e959d9
enhancement(mysqld_exporter): allows using multiple web listen addresses
Signed-off-by: Christian Krause <christian.krause@idiv.de>
2023-11-28 13:07:31 +01:00
Christian Krause
9e84276add
enhancement(alertmanager): allows using multiple web listen addresses
Signed-off-by: Christian Krause <christian.krause@idiv.de>
2023-11-28 13:07:31 +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
prombot
edfbef4c09 patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-11-17 18:18:01 +00:00
github-actions[bot]
1221d05b87
patch: 🎉 automated upstream release update (#246)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Co-authored-by: prombot <prometheus-team@googlegroups.com>
2023-11-16 16:20:09 +01:00
prombot
e7bb0dae10 patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-10-30 14:30:09 +00:00
Nikolay Asenov
9503b96854
feat: add smartctl_exporter role (#229)
Signed-off-by: Nikolay Asenov <asenov.nikolay98@gmail.com>
Signed-off-by: Ben Kochie <superq@gmail.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
2023-10-27 22:28:44 +02:00
Ben Kochie
98f6dac0ac
Merge branch 'main' into patch-1
Signed-off-by: Ben Kochie <superq@gmail.com>
2023-10-27 15:40:04 -04:00
gardar
29e0efa63c
Merge pull request #232 from prometheus-community/autoupdate/prometheus/2.47.2
patch: New prometheus/prometheus upstream release!
2023-10-27 19:08:34 +00:00
ScarletBlizzard
bd27581d69
Fix role name
Signed-off-by: ScarletBlizzard <61126210+ScarletBlizzard@users.noreply.github.com>
2023-10-24 22:07:04 +03:00
ScarletBlizzard
df657ed815
Fix typo
Signed-off-by: ScarletBlizzard <61126210+ScarletBlizzard@users.noreply.github.com>
2023-10-24 13:18:12 +03:00
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]
c0087584dd
patch: 🎉 automated upstream release update (#214)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Co-authored-by: prombot <prometheus-team@googlegroups.com>
2023-09-30 16:25:13 +02: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
github-actions[bot]
5663c82bf0
patch: 🎉 automated upstream release update (#219)
Signed-off-by: prombot <prometheus-team@googlegroups.com>
Co-authored-by: prombot <prometheus-team@googlegroups.com>
2023-09-30 16:24:05 +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
Håvard Pettersson
5405ae535a Add logging configuration to systemd_exporter
Allow configuring the log verbosity of systemd_exporter via
systemd_exporter_log_level, corresponding to the --log-level flag.

Signed-off-by: Håvard Pettersson <haavard.pettersson@gmail.com>
2023-08-29 15:14:13 +00:00
gardar
04519e178c
Merge pull request #211 from prometheus-community/autoupdate/snmp_exporter/0.24.0
patch: New prometheus/snmp_exporter upstream release!
2023-08-29 15:00:37 +00:00
prombot
7f25afb550 patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-08-29 14:27:40 +00:00
gardar
617447897c
fix: missing newline at end of file
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-29 14:25:39 +00:00
gardar
4786ce4ac5
Merge branch 'main' into haavard/systemd-exporter-tls
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-29 14:01:16 +00:00
gardar
e3b15634b9
Merge pull request #208 from haavard/haavard/collector-flags
fix(systemd_exporter): Fix collector flags for older versions
2023-08-29 13:58:59 +00:00
Håvard Pettersson
b4ed214645 Remove tests failing on centos-7
The following options require systemd >= 235 and fail on CentOS 7 tests:

 - systemd_exporter_enable_restart_count
 - systemd_exporter_enable_ip_accounting

Signed-off-by: Håvard Pettersson <haavard.pettersson@gmail.com>
2023-08-26 11:32:31 +00: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
Håvard Pettersson
c6294f348c Use correct --collector flags for older versions
Signed-off-by: Håvard Pettersson <haavard.pettersson@gmail.com>
2023-08-26 08:36:06 +00:00
Håvard Pettersson
0485844c3e Add collector variables to test
Signed-off-by: Håvard Pettersson <haavard.pettersson@gmail.com>
2023-08-26 08:36:06 +00:00
Håvard Pettersson
9c415697aa Add a version check for TLS config
Signed-off-by: Håvard Pettersson <haavard.pettersson@gmail.com>
2023-08-26 08:29:56 +00:00
Thomas Venieris
8c52c4df29
fix: blackbox_exporter ansible-lint risky-octal (#174)
Signed-off-by: Thomas Venieris <thomas.venieris@gmail.com>
Co-authored-by: Ben Kochie <superq@gmail.com>
2023-08-26 06:19:15 +02:00
Ben Kochie
0907b14def
fix: Make binary installs consistent (#204)
Update the blackbox_exporter and snmp_exporter installs to be consistent
with other exporter package installs.

Signed-off-by: SuperQ <superq@gmail.com>
2023-08-25 16:35:24 +02:00
Håvard Pettersson
e22e04f6d4 Bump systemd_exporter version in tests.
Signed-off-by: Håvard Pettersson <haavard.pettersson@gmail.com>
2023-08-25 05:35:50 +00:00
Håvard Pettersson
cd913f0083 Fix wrong variable in template
Signed-off-by: Håvard Pettersson <haavard.pettersson@gmail.com>
2023-08-25 05:35:25 +00:00
gardar
ec829555fa
Merge pull request #198 from rooty0/feat/agent-mode-support
feature: Agent mode support
2023-08-24 21:57:43 +00: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
prombot
03b4e675fd patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-08-24 14:28:49 +00: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
Håvard Pettersson
3f6da9781b Add TLS configuration to systemd_exporter role
This adds the systemd_exporter_tls_server_config variable, equivalent to
the one in node_exporter and others, enabling the use of TLS for the
systemd exporter.

Signed-off-by: Håvard Pettersson <haavard.pettersson@gmail.com>
2023-08-22 18:27:12 +00: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
Ben Kochie
d7ad271617
fix(node_exporter): Fix ProtectHome for textfiles (#184)
Set the node_exporter `ProtectHome=read-only` when the textfile dir is
in `/home`.

Fixes: https://github.com/prometheus-community/ansible/issues/183

Signed-off-by: SuperQ <superq@gmail.com>
2023-08-22 14:59:57 +02: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
3d817bd567
fix: use snmp_exporter >v0.23.0 config format
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-21 16:32:06 +00:00
gardar
26cba01251
fix: use full path for template location
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-21 15:51:00 +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
4c9d044a7d
fix: molecule specific escaping
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-08-18 19:27:51 +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
gardar
8152340da8
Merge pull request #154 from francisco-core/patch-1
docs: Fix node_exporter 404 TLS auth links
2023-08-17 14:35:18 +00:00
prombot
2d80c63910 patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-08-17 14:28:12 +00:00
Berny Linville
27f8000245
fix: add routes berfore match_re (#194)
When i configuring alertmanager vars, the absence of 'routes' in front of '- match_re' has caused confusion and errors.

Signed-off-by: Berny Linville <bernylinville@devopsthink.org>
2023-08-17 12:15:02 +02:00
SuperQ
a9d4f3aadb
Fix(smokeping_prober): Update arguments specs
Add missing arguments spec entries.

Signed-off-by: SuperQ <superq@gmail.com>
2023-08-16 18:20:55 +02:00
Ben Kochie
100b6e2070
fix: Add test for argument_specs matching (#177)
* fix: Add test for argument_specs matching

Compare contents of `meta/arguments_spec.yml` against `defaults/main.yml` on
each role to make sure keys match.

Signed-off-by: SuperQ <superq@gmail.com>

* Fixup arguments_spec linting issues.

Signed-off-by: SuperQ <superq@gmail.com>

---------

Signed-off-by: SuperQ <superq@gmail.com>
2023-08-16 17:49:02 +02:00
gardar
ebeb5097ce
Merge pull request #128 from prometheus-community/superq/smokeping_prober
feat: Add role smokeping_prober
2023-08-16 15:05:35 +00:00
gardar
e3e99f7373
Merge pull request #127 from prometheus-community/superq/pushgateway
feat: Add pushgateway role
2023-08-16 14:59:48 +00:00
prombot
e36c398beb patch: 🎉 automated upstream release update
Signed-off-by: prombot <prometheus-team@googlegroups.com>
2023-08-16 14:28:20 +00:00
gardar
d657e8b83c
Merge pull request #159 from prometheus-community/superq/chrony_exporter
feat: Add chrony_exporter role
2023-08-16 12:27:18 +00:00
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
SuperQ
2f1e8a4be8
feat: Add chrony_exporter role
Add role for deploying the chrony_exporter.

Signed-off-by: SuperQ <superq@gmail.com>
2023-07-23 23:18:40 +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
Anatoliy Tishaninov
c487c8c387 fix deprecated pidfile path warning
Signed-off-by: Anatoliy Tishaninov <atishaninov@xometry.de>
2023-07-11 22:06:14 +02:00
SuperQ
c676915376
feat: Add pushgateway role
Add role to manage the Prometheus Pushgateway.

Signed-off-by: SuperQ <superq@gmail.com>
2023-07-11 08:31:38 +02:00
SuperQ
5879df729c
feat: Add role smokeping_prober
Add a role for the Smokeping Prober.

Signed-off-by: SuperQ <superq@gmail.com>
2023-07-10 21:41:40 +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
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
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