Skip to content

Commit 49619b8

Browse files
authored
Merge pull request #671 from broferek/main
bugfix(fail2ban_exporter): add missing backslashes when basic auth is enabled
2 parents a00d1d7 + 10fe2b5 commit 49619b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roles/fail2ban_exporter/templates/fail2ban_exporter.service.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ Group={{ fail2ban_exporter_system_group }}
1111
ExecStart={{ fail2ban_exporter_binary_install_dir }}/fail2ban_exporter \
1212
--web.listen-address={{ fail2ban_exporter_web_listen_address }} \
1313
{% if fail2ban_exporter_username | length > 0 -%}
14-
--web.basic-auth.username={{ fail2ban_exporter_username }}
14+
--web.basic-auth.username={{ fail2ban_exporter_username }} \
1515
{% endif %}
1616
{% if fail2ban_exporter_password | length > 0 -%}
17-
--web.basic-auth.password={{ fail2ban_exporter_password }}
17+
--web.basic-auth.password={{ fail2ban_exporter_password }} \
1818
{% endif %}
1919
--collector.f2b.socket={{ fail2ban_exporter_socket }}
2020

0 commit comments

Comments
 (0)