Commit graph

16 commits

Author SHA1 Message Date
gardar
5e220e5f40
refactor(systemd_exporter): delegate common tasks to _common role
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-10-15 17:15:24 +00:00
gardar
1c809bc7fc
fix: cleanup unused playbooks now that prepare stages have been merged into one
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-28 03:01:55 +00:00
gardar
3b679c9161
fix: skip running testinfra on excluded ansible versions
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-20 19:48:18 +00:00
gardar
b471a1f4a4
test: unified prepare playbook for alternative molecule scenarios
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-18 03:49:54 +00:00
gardar
c59483a92f
refactor: make systemd_exporter molecule config be in line with other roles
Signed-off-by: gardar <gardar@users.noreply.github.com>
2024-09-16 17:42:03 +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
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
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
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
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
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
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
563c6121d2
fix(lint): define mode
Signed-off-by: gardar <gardar@users.noreply.github.com>
2023-03-09 01:30:36 +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