diff options
| author | lijia <[email protected]> | 2020-01-06 18:37:29 +0800 |
|---|---|---|
| committer | lijia <[email protected]> | 2020-01-06 18:37:29 +0800 |
| commit | 76d3a99a062c838873e5b48dd26d4017014f7bfa (patch) | |
| tree | 7bb399088ea94eadcacbd3fbd984c12a3a80dc46 /houyi-uninstall.yml | |
| parent | 59dd9b03bc2c639ee1db1d26ec7d7bae77db9c3b (diff) | |
升级依赖的rpm包, 修改配置文件.
Diffstat (limited to 'houyi-uninstall.yml')
| -rw-r--r-- | houyi-uninstall.yml | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/houyi-uninstall.yml b/houyi-uninstall.yml index d33c323..1824f24 100644 --- a/houyi-uninstall.yml +++ b/houyi-uninstall.yml @@ -1,6 +1,16 @@ --- - hosts: sled-mcn0 tasks: + - name: "stop sapp service" + service: + name: sapp + state: stopped + + - name: "stop houyi service" + service: + name: houyi + state: stopped + - name: "uninstall sapp" yum: name: "sapp" @@ -16,14 +26,25 @@ name: "houyi-plug" state: absent + - name: "uninstall net_flood" + yum: + name: "net_flood" + state: absent + - name: "remove sapp" file: path: /home/mesasoft/sapp_run/ state: absent force: 1 + + - name: "remove sapp service" + file: + path: /usr/lib/systemd/system/sapp.service + state: absent + force: 1 - - name: "remove houyi" + - name: "remove houyi service" file: - path: /opt/houyi/ + path: /usr/lib/systemd/system/houyi.service state: absent force: 1
\ No newline at end of file |
