Skip to content

Instantly share code, notes, and snippets.

@wwj718
Last active January 8, 2016 07:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wwj718/a6b15cb709c4331f95f9 to your computer and use it in GitHub Desktop.
Save wwj718/a6b15cb709c4331f95f9 to your computer and use it in GitHub Desktop.
edx note
---
# Example sandbox configuration
# for single server community
# installs
- name: Configure instance(s)
hosts: all
sudo: True
gather_facts: True
vars:
migrate_db: "yes"
openid_workaround: True
EDXAPP_LMS_NGINX_PORT: '80'
edx_platform_version: 'master'
# Set to false if deployed behind another proxy/load balancer.
NGINX_SET_X_FORWARDED_HEADERS: True
# These should stay false for the public AMI
COMMON_ENABLE_DATADOG: False
COMMON_ENABLE_SPLUNKFORWARDER: False
ENABLE_LEGACY_ORA: !!null
roles:
- role: nginx
nginx_sites:
- certs
- cms
- lms
- forum
- ora
- xserver
- xqueue
- insights
- edx_notes_api
- ecommerce
- analytics_api
nginx_default_sites:
- lms
- edxlocal
- mongo
- { role: 'edxapp', celery_worker: True }
- edxapp
- notifier
- analytics_api
- insights
- ecommerce
- edx_notes_api
- demo
- { role: 'rabbitmq', rabbitmq_ip: '127.0.0.1' }
- oraclejdk
- elasticsearch
- forum
- { role: notifier, NOTIFIER_DIGEST_TASK_INTERVAL: "5" }
- { role: "xqueue", update_users: True }
#- xqwatcher
- role: ora
when: ENABLE_LEGACY_ORA
- certs
- edx_ansible
- role: datadog
when: COMMON_ENABLE_DATADOG
- role: splunkforwarder
when: COMMON_ENABLE_SPLUNKFORWARDER
- role: newrelic
when: COMMON_ENABLE_NEWRELIC
- xserver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment