modify tsg-diagnose function

This commit is contained in:
fumingwei
2020-10-28 12:32:57 +06:00
parent 590ab35b0d
commit 49d08c5e2a
5 changed files with 9 additions and 13 deletions

View File

@@ -1,2 +0,0 @@
[Service]
MemoryMax=100G

View File

@@ -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