修改 clotho 为 package_dump
This commit is contained in:
16
uninstall/roles/packet_dump/tasks/main.yml
Normal file
16
uninstall/roles/packet_dump/tasks/main.yml
Normal 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
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user