whitelabel.yml 760 Bytes
Newer Older
Ibrahim committed
1 2 3 4 5 6 7 8 9 10 11 12
- name: Setup Whitelabel themes
  hosts: all
  become: True
  gather_facts: True
  vars:
    ENABLE_DATADOG: False
    ENABLE_NEWRELIC: False
    CLUSTER_NAME: 'discovery'
  vars_files:
    - "roles/edxapp/defaults/main.yml"
    - "roles/discovery/defaults/main.yml"
    - "roles/ecommerce/defaults/main.yml"
13
    - "roles/journals/defaults/main.yml"
Ibrahim committed
14 15 16 17 18 19 20 21 22 23 24 25 26
  roles:
    - aws
    - edxlocal
    - role: nginx
      nginx_default_sites:
        - discovery
    - discovery
    - role: datadog
      when: COMMON_ENABLE_DATADOG
    - role: splunkforwarder
      when: COMMON_ENABLE_SPLUNKFORWARDER
    - role: newrelic_infrastructure
      when: COMMON_ENABLE_NEWRELIC_INFRASTRUCTURE
27 28
    - role: datadog-uninstall
      when: not COMMON_ENABLE_DATADOG
Ibrahim committed
29
    - whitelabel