Merge branch 'master' of ssh://git-ssh.notandy.de:2222/ansible/roles/prometheus-agent

This commit is contained in:
nd 2021-09-26 01:21:48 +02:00
commit 1b9547ecd8
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
2 changed files with 5 additions and 1 deletions

View file

@ -17,6 +17,10 @@
- name: install blackbox exporter - name: install blackbox exporter
apt: apt:
pkg: prometheus-blackbox-exporter pkg: prometheus-blackbox-exporter
- name: handle cap cap_net_raw, needed for icmp
community.general.capabilities:
path: /usr/bin/prometheus-blackbox-exporter
capability: cap_net_raw+ep
- name: wrtie blackbox exporter service config - name: wrtie blackbox exporter service config
notify: restart blackbox exporter notify: restart blackbox exporter
template: template:

View file

@ -2,9 +2,9 @@
sslVersion = TLSv1.2 sslVersion = TLSv1.2
{% else %} {% else %}
sslVersionMin = TLSv1.2 sslVersionMin = TLSv1.2
{% endif %}
options = SINGLE_ECDH_USE options = SINGLE_ECDH_USE
options = SINGLE_DH_USE options = SINGLE_DH_USE
{% endif %}
setuid = stunnel4 setuid = stunnel4
setgid = stunnel4 setgid = stunnel4