fix: add post tasks
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2022-04-01 14:57:33 +02:00
parent c2b800f51a
commit 6532b1a94b
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
3 changed files with 10 additions and 7 deletions

View File

@ -3,3 +3,4 @@
- import_tasks: tls.yml
when: telegraf_prometheus_tls_enabled | bool
tags: tls_renewal
- include_tasks: post_tasks.yml

9
tasks/post_tasks.yml Normal file
View 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

View File

@ -60,12 +60,5 @@
group: root
mode: 0600
notify: __telegraf_reload
- name: Ensure Telegraf is up and running
service:
name: telegraf
daemon_reload: yes
enabled: yes
state: started
become: True
become_user: root