✨ feat(TSG-9140): TSG-9140集成nz-talon
TSG-OS-9140集成nz-talon安装包
This commit is contained in:
BIN
ansible/roles/nz-talon/files/nz-talon-21.07-Release.x86_64.rpm
Normal file
BIN
ansible/roles/nz-talon/files/nz-talon-21.07-Release.x86_64.rpm
Normal file
Binary file not shown.
21
ansible/roles/nz-talon/tasks/main.yml
Normal file
21
ansible/roles/nz-talon/tasks/main.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
- name: "copy nz-talon rpms to destination server"
|
||||
copy:
|
||||
src: "{{ role_path }}/files/"
|
||||
dest: "/tmp/nz-talon/"
|
||||
|
||||
- name: "install nz-talon"
|
||||
yum:
|
||||
name:
|
||||
- /tmp/nz-talon/nz-talon-21.07-Release.x86_64.rpm
|
||||
state: present
|
||||
|
||||
- name: "enable nz-promtail"
|
||||
systemd:
|
||||
name: nz-promtail
|
||||
enabled: yes
|
||||
|
||||
- name: "enable nz-talon"
|
||||
systemd:
|
||||
name: nz-talon
|
||||
enabled: yes
|
||||
@@ -71,4 +71,5 @@
|
||||
- {role: system-init-9140, tags: system-init-9140}
|
||||
- {role: system-init, tags: system-init}
|
||||
- {role: wannat_wangw, tags: wannat_wangw}
|
||||
- {role: wire_graft, tags: wire_graft}
|
||||
- {role: wire_graft, tags: wire_graft}
|
||||
- {role: nz-talon, tags: nz-talon}
|
||||
|
||||
Reference in New Issue
Block a user