This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
solutions-tsg-scripts/adc_deploy.yml

101 lines
3.2 KiB
YAML
Raw Normal View History

2021-01-31 22:43:40 +08:00
- hosts: adc_mxn
2020-09-28 21:55:04 +08:00
remote_user: root
roles:
2021-01-31 22:43:40 +08:00
- {role: adc_exporter, tags: adc_exporter}
- {role: adc_exporter_proxy, tags: adc_exporter_proxy}
# - {role: switch_rule, tags: switch_rule}
2020-09-28 20:41:30 +08:00
2020-09-10 03:22:39 +08:00
- hosts: adc_mcn0
2020-09-10 20:12:17 +08:00
remote_user: root
2020-09-10 03:22:39 +08:00
vars_files:
- install_config/group_vars/adc_global.yml
- install_config/group_vars/adc_mcn0.yml
roles:
2021-01-31 22:43:40 +08:00
- {role: framework, tags: framework}
- {role: kernel-ml, tags: kernel-ml}
- {role: mrzcpd, tags: mrzcpd}
- {role: sapp, tags: sapp}
- {role: tsg_master, tags: tsg_master}
- {role: kni, tags: kni}
- {role: firewall, tags: firewall}
2021-01-29 18:03:04 +08:00
# - tsg_app
2021-01-31 22:43:40 +08:00
- {role: http_healthcheck,tags: http_healthcheck}
- {role: redis, tags: redis}
- {role: cert-redis, tags: cert-redis}
- {role: maat-redis, tags: maat-redis, when: deploy_mode == "cluster"}
- {role: certstore, tags: certstore}
- {role: telegraf_statistic, tags: telegraf_statistic}
- {role: app_proto_identify, tags: app_proto_identify}
- {role: adc_exporter, tags: adc_exporter}
# - {role: switch_control, tags: switch_control}
- {role: tsg-env-patch, tags: tsg-env-patch}
2021-02-08 09:23:58 +08:00
- {role: docker-env, tags: docker-env}
- {role: tsg-diagnose, tags: tsg-diagnose}
2020-09-10 03:22:39 +08:00
- hosts: adc_mcn1
2020-09-10 20:12:17 +08:00
remote_user: root
2020-09-10 03:22:39 +08:00
vars_files:
- install_config/group_vars/adc_global.yml
- install_config/group_vars/adc_mcn1.yml
roles:
2021-01-31 22:43:40 +08:00
# - tsg-env-mcn1
- {role: framework, tags: framework}
- {role: kernel-ml, tags: kernel-ml}
- {role: mrzcpd, tags: mrzcpd}
- {role: tfe, tags: tfe}
- {role: adc_exporter, tags: adc_exporter}
# - {role: switch_control, tags: switch_control}
- {role: tsg-env-patch, tags: tsg-env-patch}
2021-02-08 09:23:58 +08:00
- {role: tsg-diagnose_sync_ca, tags: tsg-diagnose_sync_ca}
2020-09-10 03:22:39 +08:00
- hosts: adc_mcn2
2020-09-10 20:12:17 +08:00
remote_user: root
2020-09-10 03:22:39 +08:00
vars_files:
- install_config/group_vars/adc_global.yml
- install_config/group_vars/adc_mcn2.yml
roles:
2021-01-31 22:43:40 +08:00
# - tsg-env-mcn2
- {role: framework, tags: framework}
- {role: kernel-ml, tags: kernel-ml}
- {role: mrzcpd, tags: mrzcpd}
- {role: tfe, tags: tfe}
- {role: adc_exporter, tags: adc_exporter}
# - {role: switch_control, tags: switch_control}
- {role: tsg-env-patch, tags: tsg-env-path}
2021-02-08 09:23:58 +08:00
- {role: tsg-diagnose_sync_ca, tags: tsg-diagnose_sync_ca}
2020-09-10 03:22:39 +08:00
- hosts: adc_mcn3
2020-09-10 20:12:17 +08:00
remote_user: root
2020-09-10 03:22:39 +08:00
vars_files:
- install_config/group_vars/adc_global.yml
- install_config/group_vars/adc_mcn3.yml
roles:
2021-01-31 22:43:40 +08:00
- {role: framework, tags: framework}
- {role: kernel-ml, tags: kernel-ml}
- {role: mrzcpd, tags: mrzcpd}
- {role: tfe, tags: tfe}
# - {role: adc_exporter, tags: adc_exporter}
- {role: switch_control, tags: switch_control}
- {role: tsg-env-patch, tags: tsg-env-patch}
2021-02-08 09:21:47 +08:00
- {role: tsg-diagnose_sync_ca, tags: tsg-diagnose_sync_ca}
- hosts: adc_mcn0
remote_user: root
roles:
- {role: tsg-diagnose_stop_sync, tags: tsg-diagnose_stop_sync}
2021-01-31 22:43:40 +08:00
- hosts: packet_dump_server
2020-09-25 15:24:41 +08:00
remote_user: root
vars_files:
- install_config/group_vars/adc_global.yml
2020-09-28 20:41:30 +08:00
roles:
2021-01-31 22:43:40 +08:00
- {role: framework, tags: framework}
- {role: packet_dump, tags: packet_dump}
2020-09-25 15:24:41 +08:00
2020-09-23 14:07:56 +08:00
- hosts: app_global
remote_user: root
vars_files:
- install_config/group_vars/app_global.yml
roles:
2021-01-31 22:43:40 +08:00
- {role: app_global, tags: app_global}