mv adc_deploy with tags to adc_deploy

This commit is contained in:
fumingwei
2020-11-25 15:29:22 +06:00
parent e8a326e44e
commit a2a185b505
3 changed files with 178 additions and 98 deletions

View File

@@ -1,8 +1,8 @@
- hosts: adc_mxn
remote_user: root
roles:
- adc_exporter
- adc_exporter_proxy
- {role: adc_exporter, tags: adc_exporter}
- {role: adc_exporter_proxy, tags: adc_exporter_proxy}
- hosts: adc_mcn0
remote_user: root
@@ -11,27 +11,26 @@
- '{{ config_path }}/group_vars/adc_global.yml'
- '{{ config_path }}/group_vars/adc_mcn0.yml'
roles:
# - tsg-env-mcn0
- framework
- kernel-ml
- mrzcpd
- sapp
- tsg_master
- kni
- firewall
- {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}
# - tsg_app
- http_healthcheck
- redis
- cert-redis
- maat-redis
- certstore
- telegraf_statistic
- app_proto_identify
- docker-env
- tsg-diagnose
- adc_exporter
- switch_control
- tsg-env-patch
- {role: http_healthcheck,tags: http_healthcheck}
- {role: redis, tags: redis}
- {role: cert-redis, tags: cert-redis}
- {role: maat-redis, tags: maat-redis}
- {role: certstore, tags: certstore}
- {role: telegraf_statistic, tags: telegraf_statistic}
- {role: app_proto_identify, tags: app_proto_identify}
- {role: docker-env, tags: docker-env}
- {role: tsg-diagnose, tags: tsg-diagnose}
- {role: adc_exporter, tags: adc_exporter}
- {role: switch_control, tags: switch_control}
- {role: tsg-env-patch, tags: tsg-env-patch}
- hosts: adc_mcn1
remote_user: root
@@ -41,14 +40,14 @@
- '{{ config_path }}/group_vars/adc_mcn1.yml'
roles:
# - tsg-env-mcn1
- framework
- kernel-ml
- mrzcpd
- tfe
- tsg-diagnose_sync_ca
- adc_exporter
- switch_control
- tsg-env-patch
- {role: framework, tags: framework}
- {role: kernel-ml, tags: kernel-ml}
- {role: mrzcpd, tags: mrzcpd}
- {role: tfe, tags: tfe}
- {role: tsg-diagnose_sync_ca, tags: tsg-diagnose}
- {role: adc_exporter, tags: adc_exporter}
- {role: switch_control, tags: switch_control}
- {role: tsg-env-patch, tags: tsg-env-patch}
- hosts: adc_mcn2
remote_user: root
@@ -58,14 +57,14 @@
- '{{ config_path }}/group_vars/adc_mcn2.yml'
roles:
# - tsg-env-mcn2
- framework
- kernel-ml
- mrzcpd
- tfe
- tsg-diagnose_sync_ca
- adc_exporter
- switch_control
- tsg-env-patch
- {role: framework, tags: framework}
- {role: kernel-ml, tags: kernel-ml}
- {role: mrzcpd, tags: mrzcpd}
- {role: tfe, tags: tfe}
- {role: tsg-diagnose_sync_ca, tags: tsg-diagnose}
- {role: adc_exporter, tags: adc_exporter}
- {role: switch_control, tags: switch_control}
- {role: tsg-env-patch, tags: tsg-env-path}
- hosts: adc_mcn3
remote_user: root
@@ -74,19 +73,19 @@
- '{{ config_path }}/group_vars/adc_global.yml'
- '{{ config_path }}/group_vars/adc_mcn3.yml'
roles:
- framework
- kernel-ml
- mrzcpd
- tfe
- tsg-diagnose_sync_ca
- adc_exporter
- switch_control
- tsg-env-patch
- {role: framework, tags: framework}
- {role: kernel-ml, tags: kernel-ml}
- {role: mrzcpd, tags: mrzcpd}
- {role: tfe, tags: tfe}
- {role: tsg-diagnose_sync_ca, tags: tsg-diagnose}
- {role: adc_exporter, tags: adc_exporter}
- {role: switch_control, tags: switch_control}
- {role: tsg-env-patch, tags: tsg-env-patch}
- hosts: adc_mcn0
remote_user: root
roles:
- tsg-diagnose_stop_sync
- {role: tsg-diagnose_stop_sync, tags: tsg-diagnose}
- hosts: packet_dump_server
remote_user: root
@@ -94,8 +93,8 @@
- group_vars/adc_global_general.yml
- '{{ config_path }}/group_vars/adc_global.yml'
roles:
- framework
- packet_dump
- {role: framework, tags: framework}
- {role: packet_dump, tags: packet_dump}
- hosts: server-as-tun-mode
remote_user: root