Commit ae1367fc by e0d

Adding automated to edxapp and discovery plays

parent 2e8f1264
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
CLUSTER_NAME: 'discovery' CLUSTER_NAME: 'discovery'
roles: roles:
- aws - aws
- role: automated
AUTOMATED_USERS: "{{ DISCOVERY_AUTOMATED_USERS | default({}) }}"
- role: nginx - role: nginx
nginx_default_sites: nginx_default_sites:
- discovery - discovery
......
...@@ -7,22 +7,24 @@ ...@@ -7,22 +7,24 @@
CLUSTER_NAME: 'edxapp' CLUSTER_NAME: 'edxapp'
serial: "{{ serial_count }}" serial: "{{ serial_count }}"
roles: roles:
- aws - aws
- role: nginx - role: automated
nginx_sites: AUTOMATED_USERS: "{{ EDXAPP_AUTOMATED_USERS | default({}) }}"
- lms - role: nginx
- cms nginx_sites:
nginx_default_sites: - lms
- lms - cms
nginx_extra_sites: "{{ NGINX_EDXAPP_EXTRA_SITES }}" nginx_default_sites:
nginx_extra_configs: "{{ NGINX_EDXAPP_EXTRA_CONFIGS }}" - lms
nginx_redirects: "{{ NGINX_EDXAPP_CUSTOM_REDIRECTS }}" nginx_extra_sites: "{{ NGINX_EDXAPP_EXTRA_SITES }}"
- edxapp nginx_extra_configs: "{{ NGINX_EDXAPP_EXTRA_CONFIGS }}"
- role: datadog nginx_redirects: "{{ NGINX_EDXAPP_CUSTOM_REDIRECTS }}"
when: COMMON_ENABLE_DATADOG - edxapp
- role: splunkforwarder - role: datadog
when: COMMON_ENABLE_SPLUNKFORWARDER when: COMMON_ENABLE_DATADOG
- role: newrelic - role: splunkforwarder
when: COMMON_ENABLE_NEWRELIC when: COMMON_ENABLE_SPLUNKFORWARDER
- role: minos - role: newrelic
when: COMMON_ENABLE_MINOS when: COMMON_ENABLE_NEWRELIC
- role: minos
when: COMMON_ENABLE_MINOS
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment