mirror of
https://github.com/prometheus-community/ansible
synced 2024-11-10 06:14:13 +00:00
Merge pull request #270 from molpako/fix/mysqld_exporter_use_socket
fix(mysqld_exporter): Change condition for mysqld_exporter_host check
This commit is contained in:
commit
906a1d3827
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
[client]
|
||||
user={{ mysqld_exporter_username }}
|
||||
password={{ mysqld_exporter_password }}
|
||||
{% if mysqld_exporter_host is defined %}
|
||||
{% if mysqld_exporter_host %}
|
||||
host={{ mysqld_exporter_host }}
|
||||
port={{ mysqld_exporter_port }}
|
||||
{% elif mysqld_exporter_socket is defined %}
|
||||
|
|
Loading…
Reference in a new issue