修改telegraf 安装失败问题
This commit is contained in:
Binary file not shown.
BIN
roles/sapp/files/sapp-4.1.12.b8f6ea4-2.el7.x86_64.rpm
Normal file
BIN
roles/sapp/files/sapp-4.1.12.b8f6ea4-2.el7.x86_64.rpm
Normal file
Binary file not shown.
@@ -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
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user