change - to _

This commit is contained in:
jean-yves.fournier 2022-01-05 16:12:27 +01:00
parent 9924ee189a
commit 9ae553f24d
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ prometheus_mongodb_exporter_port: 27017
prometheus_phpfpm_sockets_directory: "/run/php/" prometheus_phpfpm_sockets_directory: "/run/php/"
prometheus_phpfpm_sockets_directory_additional: "/var/run/php*.sock" prometheus_phpfpm_sockets_directory_additional: "/var/run/php*.sock"
prometheus_opcache_exporter_fcgi-uri: "unix:///var/run/php-000-default.sock" prometheus_opcache_exporter_fcgi_uri: "unix:///var/run/php-000-default.sock"
prometheus_postgres_exporter_systemd_user: "postgres" prometheus_postgres_exporter_systemd_user: "postgres"
prometheus_postgres_exporter_host: "/var/run/postgresql/" prometheus_postgres_exporter_host: "/var/run/postgresql/"

View File

@ -1,4 +1,4 @@
# {{ ansible_managed }} # {{ ansible_managed }}
{% if (prometheus_opcache_exporter_fcgi-uri is defined) %} {% if (prometheus_opcache_exporter_fcgi_uri is defined) %}
ARGS='"--opcache.fcgi-uri="{{ prometheus_opcache_exporter_fcgi-uri }}"' ARGS='"--opcache.fcgi-uri="{{ prometheus_opcache_exporter_fcgi_uri }}"'
{% endif %} {% endif %}