mysql - add host option

This commit is contained in:
Ludovic Cartier 2022-07-26 17:15:59 +02:00
parent 2530f2ebf9
commit f6e311cd4c

View File

@ -1,4 +1,7 @@
# {{ ansible_managed }}
[client]
{% if prometheus_mysqld_exporter_host is defined %}
host={{ prometheus_mysqld_exporter_host }}
{% endif%}
user={{ prometheus_mysqld_exporter_user }}
password={{ prometheus_mysqld_exporter_password }}