This commit is contained in:
parent
c2b800f51a
commit
6532b1a94b
@ -3,3 +3,4 @@
|
|||||||
- import_tasks: tls.yml
|
- import_tasks: tls.yml
|
||||||
when: telegraf_prometheus_tls_enabled | bool
|
when: telegraf_prometheus_tls_enabled | bool
|
||||||
tags: tls_renewal
|
tags: tls_renewal
|
||||||
|
- include_tasks: post_tasks.yml
|
||||||
|
9
tasks/post_tasks.yml
Normal file
9
tasks/post_tasks.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
- name: Ensure Telegraf is up and running
|
||||||
|
service:
|
||||||
|
name: telegraf
|
||||||
|
daemon_reload: yes
|
||||||
|
enabled: yes
|
||||||
|
state: started
|
||||||
|
become: True
|
||||||
|
become_user: root
|
@ -60,12 +60,5 @@
|
|||||||
group: root
|
group: root
|
||||||
mode: 0600
|
mode: 0600
|
||||||
notify: __telegraf_reload
|
notify: __telegraf_reload
|
||||||
|
|
||||||
- name: Ensure Telegraf is up and running
|
|
||||||
service:
|
|
||||||
name: telegraf
|
|
||||||
daemon_reload: yes
|
|
||||||
enabled: yes
|
|
||||||
state: started
|
|
||||||
become: True
|
become: True
|
||||||
become_user: root
|
become_user: root
|
||||||
|
Loading…
Reference in New Issue
Block a user