修改 clotho 为 package_dump

This commit is contained in:
fumingwei
2020-10-16 16:57:20 +08:00
parent 451677775d
commit f0725b0e02
7 changed files with 44 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
####################
#Uninstall packet_dump
- name: "[uninstall packet_dump] stop packet_dump"
systemd:
name: packet_dump
state: stopped
enabled: no
when: uninstall.packet_dump == 1
ignore_errors: true
- name: "[uninstall packet_dump] uninstall packet_dump"
yum:
name:
- "{{ packet_dump }}"
state: absent
when: uninstall.packet_dump == 1

View File

@@ -41,6 +41,7 @@ tfe=`rpm -qa |grep ^tfe-4`
tfe_kmod=`rpm -qa |grep ^tfe-kmod`
http_healthcheck=`rpm -qa |grep ^http_healthcheck`
clotho=`rpm -qa |grep ^clotho`
packet_dump=`rpm -qa |grep ^packet_dump`
certstore=`rpm -qa |grep ^certstore`
@@ -125,6 +126,9 @@ http_healthcheck: $http_healthcheck
#clotho
clotho: $clotho
#packet_dump
packet_dump: $packet_dump
#####################
#certstore
certstore: $certstore

View File

@@ -17,6 +17,7 @@
- certstore
- cert_redis
- clotho
- packet_dump
- http_healthcheck
- framework
- telegraf_statistic
@@ -45,6 +46,7 @@
- certstore
- cert_redis
- clotho
- packet_dump
- http_healthcheck
- framework
- telegraf_statistic