修改telegraf 安装失败问题

This commit is contained in:
fumingwei
2020-10-17 18:04:44 +08:00
parent 11bf3dfa8e
commit 7800356765
5 changed files with 4 additions and 3 deletions

View File

@@ -19,10 +19,11 @@
copy:
src: "{{ role_path }}/files/telegraf_statistic.service"
dest: /usr/lib/systemd/system
mode: 0755
mode: 0644
- name: "Start telegraf"
systemd:
name: telegraf_statistic.service
state: started
enabled: yes
daemon_reload: yes