modify tsg-diagnose function
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user