修改 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