modify tsg-diagnose function
This commit is contained in:
@@ -36,12 +36,12 @@
|
||||
#p
|
||||
#[adc_mxn]
|
||||
[adc_mcn0]
|
||||
10.3.51.1
|
||||
10.3.51.[1:113]
|
||||
[adc_mcn1]
|
||||
10.3.52.1
|
||||
10.3.52.[1:113]
|
||||
[adc_mcn2]
|
||||
10.3.53.1
|
||||
10.3.53.[1:113]
|
||||
[adc_mcn3]
|
||||
10.3.54.1
|
||||
10.3.54.[1:113]
|
||||
[packet_dump_server]
|
||||
10.3.61.10
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
[Service]
|
||||
MemoryMax=100G
|
||||
Binary file not shown.
@@ -22,7 +22,7 @@
|
||||
- name: "Install tsg-diagnose rpm package"
|
||||
yum:
|
||||
name:
|
||||
- "/tmp/ansible_deploy/tsg-diagnose-20.10.01.7041374-1.el7.x86_64.rpm"
|
||||
- "/tmp/ansible_deploy/tsg-diagnose-20.10.02.6d0631a-1.el7.x86_64.rpm"
|
||||
state: present
|
||||
|
||||
- name: "Templates tsg-diagnose.config"
|
||||
@@ -43,12 +43,6 @@
|
||||
dest: /opt/tsg/tsg-diagnose/.badssl_cert_dict
|
||||
remote_src: yes
|
||||
|
||||
- name: "copy memory limit file to tsg-diagnose.service.d"
|
||||
copy:
|
||||
src: "{{ role_path }}/files/memory.conf"
|
||||
dest: /etc/systemd/system/tsg-diagnose.service.d/
|
||||
mode: 0644
|
||||
|
||||
- name: 'Tsg-diagnose service start'
|
||||
systemd:
|
||||
name: tsg-diagnose
|
||||
|
||||
4
verify_tsg_diagnose.yml
Normal file
4
verify_tsg_diagnose.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
- hosts: adc_mcn0
|
||||
remote_user: root
|
||||
roles:
|
||||
- tsg-diagnose-verify-succ
|
||||
Reference in New Issue
Block a user