修改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

Binary file not shown.

View File

@@ -13,7 +13,7 @@
- name: "install sapp rpms from localhost"
yum:
name:
- /tmp/ansible_deploy/sapp-4.1.11.3fb4f0b-2.el7.x86_64.rpm
- /tmp/ansible_deploy/sapp-4.1.12.b8f6ea4-2.el7.x86_64.rpm
state: present
skip_broken: yes

View File

@@ -19,7 +19,7 @@
copy:
src: "{{ role_path }}/files/telegraf_collect.service"
dest: /usr/lib/systemd/system
mode: 0755
mode: 0644
- name: "Start telegraf_collect"
systemd:

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