1、增加mrzcpd 对device list的支持

2、增加sapp 的internal 和external interface 的网卡list的支持
3、增加卸载部署脚本
4、增加查询指定rpm安装情况部署脚本
This commit is contained in:
fumingwei
2021-03-01 16:47:01 +08:00
parent 500d852468
commit d8f9ac6623
9 changed files with 147 additions and 18 deletions

View File

@@ -0,0 +1,14 @@
- hosts: platform
remote_user: root
tasks:
- name: "uninstall firewall: absent firewall rpm packages"
yum:
name: "{{ item }}"
state: absent
with_items:
- dns
- ftp
- http
- mail
- quic
- ssl

View File

@@ -0,0 +1,24 @@
- hosts: paltform
remote_user: root
tasks:
- name: "uninstall framework: absent framework rpm packages"
yum:
name: "{{ item }}"
state: absent
#skip_broken: yes
with_items:
- libcjson
- libdocumentanalyze
- libmaatframe
- libMESA_field_stat
- libMESA_field_stat2
- libMESA_handle_logger
- libMESA_htable
- libMESA_prof_load
- librdkafka
- librulescan
- libtsglua
- libwiredcfg
- libWiredLB
- lz4
- libbreakpad_mini

View File

@@ -0,0 +1,14 @@
- hosts: platform
remote_user: root
tasks:
- name: "uninstall mrzcpd: stop mrzcpd.service"
systemd:
name: "{{ item }}"
state: stopped
with_items:
- mrzcpd.service
- name: "uninstall mrzcpd:absent mrzcpd rpm package"
yum:
name: mrzcpd
state: absent

View File

@@ -0,0 +1,5 @@
---
- include: uninstall_firewall.yml
- include: uninstall_sapp.yml
- include: uninstall_mrzcpd.yml
- include: uninstall_framework.yml

View File

@@ -0,0 +1,14 @@
- hosts: platform
remote_user: root
tasks:
- name: "uninstall sapp: stop sapp.service"
systemd:
name: "{{ item }}"
state: stopped
with_items:
- sapp.service
- name: "uninstall sapp:absent sapp rpm package"
yum:
name: sapp
state: absent