no longer run as root, support debian stretch

This commit is contained in:
nd 2021-08-01 21:33:33 +02:00
parent a9d49ae648
commit dcb85ef10a
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9

View file

@ -1,4 +1,14 @@
{% if ansible_distribution_release == 'stretch' %}
sslVersion = TLSv1.2
{% else %}
sslVersionMin = TLSv1.2 sslVersionMin = TLSv1.2
{% endif %}
options = SINGLE_ECDH_USE
options = SINGLE_DH_USE
setuid = stunnel4
setgid = stunnel4
pid = /var/run/stunnel4/prometheus-agent.pid
{% for i in prometheus_agent.scrapers if "nodeexporter" in prometheus_agent.scrapers[i] %} {% for i in prometheus_agent.scrapers if "nodeexporter" in prometheus_agent.scrapers[i] %}
; nodeexporter ; nodeexporter