This repository was archived by the owner on Nov 12, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +17
-15
lines changed Expand file tree Collapse file tree 5 files changed +17
-15
lines changed Original file line number Diff line number Diff line change 46
46
environment :
47
47
48
48
GIT_USER : cloudalchemybot
49
- GIT_COMMIT_DESC : git log --format=%B -n 1 ${CIRCLE_SHA1}
50
49
steps :
51
50
- checkout
52
51
- setup_remote_docker
55
54
- run : git config --global user.name "${GIT_USER}"
56
55
- run : |
57
56
GIT_TAG=none
57
+ GIT_COMMIT_DESC=$(git log --format=%B -n 1 ${CIRCLE_SHA1})
58
58
echo "Last commit message: ${GIT_COMMIT_DESC}"
59
59
case "${GIT_COMMIT_DESC}" in
60
60
*"[patch]"*|*"[fix]"*|*"[bugfix]"* ) GIT_TAG=$(git semver --next-patch) ;;
Original file line number Diff line number Diff line change @@ -7,5 +7,11 @@ systemd_exporter_enable_restart_count: false
7
7
systemd_exporter_enable_ip_accounting : false
8
8
systemd_exporter_enable_file_descriptor_size : false
9
9
10
- systemd_exporter_unit_allowlist : " "
11
- systemd_exporter_unit_denylist : " "
10
+ systemd_exporter_unit_whitelist : []
11
+ systemd_exporter_unit_blacklist : []
12
+
13
+ # Following variables are meant for advanced users only. Changing those is not supported.
14
+
15
+ _systemd_exporter_binary_install_dir : " /usr/local/bin"
16
+ _systemd_exporter_system_group : " systemd-exporter"
17
+ _systemd_exporter_system_user : " {{ _systemd_exporter_system_group }}"
Original file line number Diff line number Diff line change 1
1
---
2
2
galaxy_info :
3
3
author : Pawel Krupa
4
- description : Prometheus SystemD Exporter
4
+ description : Prometheus Systemd Exporter
5
+ role_name : systemd-exporter
5
6
license : MIT
6
7
company : none
7
8
min_ansible_version : 2.7
Original file line number Diff line number Diff line change @@ -18,12 +18,12 @@ ExecStart={{ _systemd_exporter_binary_install_dir }}/systemd_exporter \
18
18
{% if systemd_exporter_enable_ip_accounting %}
19
19
--collector.enable-ip-accounting \
20
20
{% endif %}
21
- {% if systemd_exporter_unit_allowlist != "" %}
22
- --collector.unit-whitelist={{ systemd_exporter_unit_allowlist }} \
23
- {% endif %}
24
- {% if systemd_exporter_unit_denylist != "" %}
25
- --collector.unit-blacklist={{ systemd_exporter_unit_denylist }} \
26
- {% endif %}
21
+ {% for item in systemd_exporter_unit_whitelist %}
22
+ --collector.unit-whitelist={{ item }} \
23
+ {% endfor %}
24
+ {% for item in systemd_exporter_unit_blacklist %}
25
+ --collector.unit-blacklist={{ item }} \
26
+ {% endfor %}
27
27
--web.listen-address={{ systemd_exporter_web_listen_address }}
28
28
29
29
SyslogIdentifier=systemd_exporter
Original file line number Diff line number Diff line change @@ -7,8 +7,3 @@ go_arch_map:
7
7
armv6l : ' armv6'
8
8
9
9
go_arch : " {{ go_arch_map[ansible_architecture] | default(ansible_architecture) }}"
10
-
11
- _systemd_exporter_binary_install_dir : " /usr/local/bin"
12
-
13
- _systemd_exporter_system_group : " systemd-exporter"
14
- _systemd_exporter_system_user : " {{ _systemd_exporter_system_group }}"
You can’t perform that action at this time.
0 commit comments