summaryrefslogtreecommitdiff
path: root/server_deploy.yml
blob: 3a737724762402be7b4567b9b1187d0df21e1e76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
- hosts: server_as_tun_mode
  remote_user: root
  vars_files:
    - install_config/group_vars/server_as_tun_mode.yml
  roles:
    - {role: framework, tags: framework}
    - {role: kernel-ml, tags: kernel-ml}
    - {role: mrzcpd, tags: mrzcpd}
    - {role: tsg-env-tun-mode, tags: tsg-env-tun-mode}
    - {role: sapp, tags: sapp}
    - {role: tsg_master, tags: tsg_master}
    - {role: kni, tags: kni}
    - {role: firewall, tags: firewall}
    - {role: tsg_app, tags: tsg_app}
    - {role: http_healthcheck,tags: http_healthcheck}
    - {role: certstore, tags: certstore}
    - {role: redis, tags: redis}
    - {role: cert-redis, tags: cert-redis}
    - {role: maat-redis, tags: maat-redis, when: deploy_mode == "cluster"}
    - {role: tfe, tags: tfe}
    - {role: telegraf_statistic, tags: telegraf_statistic}
    - {role: app_proto_identify, tags: app_proto_identify}
#    - {role: proxy_status, tags: proxy_status}
#    - {role: adc_exporter, tags: adc_exporter}
#    - {role: adc_exporter_proxy, tags: adc_exporter_proxy}
#    - tsg_device_tag
#    - reboot

- hosts: packet_dump_server
  remote_user: root
  vars_files:
    - install_config/group_vars/adc_global.yml
  roles:
    - {role: framework, tags: framework}
    - {role: packet_dump, tags: packet_dump}

- hosts: app_global
  remote_user: root
  vars_files:
    - install_config/group_vars/app_global.yml
  roles:
    - {role: app_global, tags: app_global}