no longer run as root, support debian stretch
This commit is contained in:
parent
a9d49ae648
commit
dcb85ef10a
1 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue