1.modify almaty and NurSultan redis config
2.add unistall role:
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
- http_healthcheck
|
||||
- redis
|
||||
- cert-redis
|
||||
- maat-redis
|
||||
- certstore
|
||||
- telegraf_statistic
|
||||
# - tsg_device_tag
|
||||
|
||||
@@ -15,13 +15,13 @@ maat_redis_city_server:
|
||||
port: 7002
|
||||
|
||||
maat_redis_server:
|
||||
address: "192.168.100.4"
|
||||
address: "192.168.100.1"
|
||||
port: 7002
|
||||
port_num: 1
|
||||
db: 0
|
||||
|
||||
dynamic_maat_redis_server:
|
||||
address: "192.168.100.4"
|
||||
address: "192.168.100.1"
|
||||
port: 7002
|
||||
port_num: 1
|
||||
db: 1
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
- http_healthcheck
|
||||
- redis
|
||||
- cert-redis
|
||||
- maat-redis
|
||||
- certstore
|
||||
- telegraf_statistic
|
||||
# - tsg_device_tag
|
||||
@@ -77,8 +78,6 @@
|
||||
- kernel-ml
|
||||
# - tsg-env-mcn3
|
||||
- telegraf_collect
|
||||
- redis
|
||||
- maat-redis
|
||||
- mrzcpd
|
||||
- tfe
|
||||
|
||||
|
||||
@@ -15,13 +15,13 @@ maat_redis_city_server:
|
||||
port: 7002
|
||||
|
||||
maat_redis_server:
|
||||
address: "192.168.100.4"
|
||||
address: "192.168.100.1"
|
||||
port: 7002
|
||||
port_num: 1
|
||||
db: 0
|
||||
|
||||
dynamic_maat_redis_server:
|
||||
address: "192.168.100.4"
|
||||
address: "192.168.100.1"
|
||||
port: 7002
|
||||
port_num: 1
|
||||
db: 1
|
||||
|
||||
9
roles/tsg-diagnose-uninstall/tasks/main.yml
Normal file
9
roles/tsg-diagnose-uninstall/tasks/main.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
- name: stop tsg-diagnose
|
||||
systemd:
|
||||
name: tsg-diagnose
|
||||
state: stopped
|
||||
|
||||
- name: remove the tsg-diagnose
|
||||
yum:
|
||||
name: tsg-diagnose
|
||||
state: absent
|
||||
4
uninstall_process.yml
Normal file
4
uninstall_process.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
- hosts: adc_mcn0
|
||||
remote_user: root
|
||||
roles:
|
||||
- tsg-diagnose-uninstall
|
||||
Reference in New Issue
Block a user