disable telegraf service 的开机自启动

This commit is contained in:
fumingwei
2021-05-31 16:15:41 +08:00
parent 7beda7ad09
commit c01182433d

View File

@@ -22,7 +22,14 @@
mode: 0644
##################### telegraf #####################
- name: "Start telegraf"
- name: "disable telegraf"
systemd:
name: telegraf.service
enabled: no
daemon_reload: yes
- name: "Start telegraf_statistic"
systemd:
name: telegraf_statistic.service
state: started