ensure stunnel is running and enabled
This commit is contained in:
parent
fae35db007
commit
3514624106
1 changed files with 5 additions and 0 deletions
|
|
@ -75,6 +75,11 @@
|
||||||
src: stunnel-client.conf.j2
|
src: stunnel-client.conf.j2
|
||||||
dest: /etc/stunnel/prometheus-agent.conf
|
dest: /etc/stunnel/prometheus-agent.conf
|
||||||
notify: restart stunnel
|
notify: restart stunnel
|
||||||
|
- name: ensure stunnel is running
|
||||||
|
service:
|
||||||
|
name: stunnel4
|
||||||
|
state: started
|
||||||
|
enabled: yes
|
||||||
- name: copy agent certs to scrapers
|
- name: copy agent certs to scrapers
|
||||||
loop: "{{ prometheus_agent.scrapers.keys()|list }}"
|
loop: "{{ prometheus_agent.scrapers.keys()|list }}"
|
||||||
delegate_to: "{{ item }}"
|
delegate_to: "{{ item }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue