Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
b680f44f
Commit
b680f44f
authored
Jun 02, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changing common dd var
parent
76a0f272
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
8 additions
and
10 deletions
+8
-10
playbooks/roles/common/defaults/main.yml
+2
-2
playbooks/roles/datadog/defaults/main.yml
+0
-2
playbooks/roles/datadog/tasks/main.yml
+1
-1
playbooks/roles/edxapp/defaults/main.yml
+0
-1
playbooks/roles/edxapp/templates/cms.conf.j2
+1
-1
playbooks/roles/edxapp/templates/lms.conf.j2
+1
-1
playbooks/roles/notifier/defaults/main.yml
+1
-1
playbooks/roles/xqueue/defaults/main.yml
+1
-0
playbooks/roles/xqueue/templates/xqueue.conf.j2
+1
-1
No files found.
playbooks/roles/common/defaults/main.yml
View file @
b680f44f
...
@@ -48,10 +48,10 @@ COMMON_MYSQL_MIGRATE_PASS: !!null
...
@@ -48,10 +48,10 @@ COMMON_MYSQL_MIGRATE_PASS: !!null
COMMON_MONGO_READ_ONLY_USER
:
'
read_only'
COMMON_MONGO_READ_ONLY_USER
:
'
read_only'
COMMON_MONGO_READ_ONLY_PASS
:
!!null
COMMON_MONGO_READ_ONLY_PASS
:
!!null
COMMON_ENABLE_DATADOG
:
False
COMMON_ENABLE_DATADOG
:
False
COMMON_DATADOG_API_KEY
:
"
PUT_YOUR_API_KEY_HERE"
COMMON_ENABLE_SPLUNKFORWARDER
:
False
COMMON_ENABLE_SPLUNKFORWARDER
:
False
COMMON_ENABLE_NEWRELIC
:
False
COMMON_ENABLE_NEWRELIC
:
False
NEWRELIC_LICENSE
:
"
YOUR
LICENSE"
COMMON_NEWRELIC_LICENSE
:
"
YOUR
LICENSE"
common_debian_pkgs
:
common_debian_pkgs
:
-
ntp
-
ntp
-
ack-grep
-
ack-grep
...
...
playbooks/roles/datadog/defaults/main.yml
View file @
b680f44f
---
---
DATADOG_API_KEY
:
"
PUT_YOUR_API_KEY_HERE"
datadog_apt_key
:
"
http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x226AE980C7A7DA52"
datadog_apt_key
:
"
http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x226AE980C7A7DA52"
datadog_debian_pkgs
:
datadog_debian_pkgs
:
...
...
playbooks/roles/datadog/tasks/main.yml
View file @
b680f44f
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
lineinfile
:
>
lineinfile
:
>
dest="/etc/dd-agent/datadog.conf"
dest="/etc/dd-agent/datadog.conf"
regexp="^api_key:.*"
regexp="^api_key:.*"
line="api_key:{{ DATADOG_API_KEY }}"
line="api_key:{{
COMMON_
DATADOG_API_KEY }}"
notify
:
notify
:
-
restart the datadog service
-
restart the datadog service
tags
:
tags
:
...
...
playbooks/roles/edxapp/defaults/main.yml
View file @
b680f44f
...
@@ -212,7 +212,6 @@ EDXAPP_XML_FROM_GIT: false
...
@@ -212,7 +212,6 @@ EDXAPP_XML_FROM_GIT: false
EDXAPP_XML_S3_BUCKET
:
!!null
EDXAPP_XML_S3_BUCKET
:
!!null
EDXAPP_XML_S3_KEY
:
!!null
EDXAPP_XML_S3_KEY
:
!!null
EDXAPP_NEWRELIC_LICENSE
:
"
YOUR
LICENSE"
EDXAPP_NEWRELIC_LMS_APPNAME
:
"
edX-LMS"
EDXAPP_NEWRELIC_LMS_APPNAME
:
"
edX-LMS"
EDXAPP_NEWRELIC_CMS_APPNAME
:
"
edX-CMS"
EDXAPP_NEWRELIC_CMS_APPNAME
:
"
edX-CMS"
edxapp_newrelic_executable
:
"
{{
edxapp_venv_dir
}}/bin/newrelic-admin"
edxapp_newrelic_executable
:
"
{{
edxapp_venv_dir
}}/bin/newrelic-admin"
...
...
playbooks/roles/edxapp/templates/cms.conf.j2
View file @
b680f44f
...
@@ -14,7 +14,7 @@ command={{ executable }} --preload -b {{ edxapp_cms_gunicorn_host }}:{{ edxapp_c
...
@@ -14,7 +14,7 @@ command={{ executable }} --preload -b {{ edxapp_cms_gunicorn_host }}:{{ edxapp_c
user={{ common_web_user }}
user={{ common_web_user }}
directory={{ edxapp_code_dir }}
directory={{ edxapp_code_dir }}
environment={% if COMMON_ENABLE_NEWRELIC %}NEW_RELIC_APP_NAME={{ EDXAPP_NEWRELIC_CMS_APPNAME }},NEW_RELIC_LICENSE_KEY={{
EDXAPP
_NEWRELIC_LICENSE }},{% endif -%}PORT={{edxapp_cms_gunicorn_port}},ADDRESS={{edxapp_cms_gunicorn_host}},LANG={{ EDXAPP_LANG }},DJANGO_SETTINGS_MODULE={{ edxapp_cms_env }},SERVICE_VARIANT="cms"
environment={% if COMMON_ENABLE_NEWRELIC %}NEW_RELIC_APP_NAME={{ EDXAPP_NEWRELIC_CMS_APPNAME }},NEW_RELIC_LICENSE_KEY={{
COMMON
_NEWRELIC_LICENSE }},{% endif -%}PORT={{edxapp_cms_gunicorn_port}},ADDRESS={{edxapp_cms_gunicorn_host}},LANG={{ EDXAPP_LANG }},DJANGO_SETTINGS_MODULE={{ edxapp_cms_env }},SERVICE_VARIANT="cms"
stdout_logfile={{ supervisor_log_dir }}/%(program_name)-stdout.log
stdout_logfile={{ supervisor_log_dir }}/%(program_name)-stdout.log
stderr_logfile={{ supervisor_log_dir }}/%(program_name)-stderr.log
stderr_logfile={{ supervisor_log_dir }}/%(program_name)-stderr.log
killasgroup=true
killasgroup=true
...
...
playbooks/roles/edxapp/templates/lms.conf.j2
View file @
b680f44f
...
@@ -14,7 +14,7 @@ command={{ executable }} --preload -b {{ edxapp_lms_gunicorn_host }}:{{ edxapp_l
...
@@ -14,7 +14,7 @@ command={{ executable }} --preload -b {{ edxapp_lms_gunicorn_host }}:{{ edxapp_l
user={{ common_web_user }}
user={{ common_web_user }}
directory={{ edxapp_code_dir }}
directory={{ edxapp_code_dir }}
environment={% if COMMON_ENABLE_NEWRELIC %}NEW_RELIC_APP_NAME={{ EDXAPP_NEWRELIC_LMS_APPNAME }},NEW_RELIC_LICENSE_KEY={{
EDXAPP
_NEWRELIC_LICENSE }},{% endif -%} PORT={{edxapp_lms_gunicorn_port}},ADDRESS={{edxapp_lms_gunicorn_host}},LANG={{ EDXAPP_LANG }},DJANGO_SETTINGS_MODULE={{ edxapp_lms_env }},SERVICE_VARIANT="lms"
environment={% if COMMON_ENABLE_NEWRELIC %}NEW_RELIC_APP_NAME={{ EDXAPP_NEWRELIC_LMS_APPNAME }},NEW_RELIC_LICENSE_KEY={{
COMMON
_NEWRELIC_LICENSE }},{% endif -%} PORT={{edxapp_lms_gunicorn_port}},ADDRESS={{edxapp_lms_gunicorn_host}},LANG={{ EDXAPP_LANG }},DJANGO_SETTINGS_MODULE={{ edxapp_lms_env }},SERVICE_VARIANT="lms"
stdout_logfile={{ supervisor_log_dir }}/%(program_name)-stdout.log
stdout_logfile={{ supervisor_log_dir }}/%(program_name)-stdout.log
stderr_logfile={{ supervisor_log_dir }}/%(program_name)-stderr.log
stderr_logfile={{ supervisor_log_dir }}/%(program_name)-stderr.log
killasgroup=true
killasgroup=true
...
...
playbooks/roles/notifier/defaults/main.yml
View file @
b680f44f
...
@@ -89,7 +89,7 @@ notifier_env_vars:
...
@@ -89,7 +89,7 @@ notifier_env_vars:
CS_API_KEY
:
"
{{
NOTIFIER_COMMENT_SERVICE_API_KEY
}}"
CS_API_KEY
:
"
{{
NOTIFIER_COMMENT_SERVICE_API_KEY
}}"
US_URL_BASE
:
"
{{
NOTIFIER_USER_SERVICE_BASE
}}"
US_URL_BASE
:
"
{{
NOTIFIER_USER_SERVICE_BASE
}}"
US_API_KEY
:
"
{{
NOTIFIER_USER_SERVICE_API_KEY
}}"
US_API_KEY
:
"
{{
NOTIFIER_USER_SERVICE_API_KEY
}}"
DATADOG_API_KEY
:
"
{{
DATADOG_API_KEY
}}"
DATADOG_API_KEY
:
"
{{
COMMON_
DATADOG_API_KEY
}}"
LOG_LEVEL
:
"
{{
NOTIFIER_LOG_LEVEL
}}"
LOG_LEVEL
:
"
{{
NOTIFIER_LOG_LEVEL
}}"
RSYSLOG_ENABLED
:
"
{{
NOTIFIER_RSYSLOG_ENABLED
}}"
RSYSLOG_ENABLED
:
"
{{
NOTIFIER_RSYSLOG_ENABLED
}}"
BROKER_URL
:
"
{{
NOTIFIER_CELERY_BROKER_URL
}}"
BROKER_URL
:
"
{{
NOTIFIER_CELERY_BROKER_URL
}}"
...
...
playbooks/roles/xqueue/defaults/main.yml
View file @
b680f44f
...
@@ -30,6 +30,7 @@ XQUEUE_MYSQL_USER: 'xqueue001'
...
@@ -30,6 +30,7 @@ XQUEUE_MYSQL_USER: 'xqueue001'
XQUEUE_MYSQL_PASSWORD
:
'
password'
XQUEUE_MYSQL_PASSWORD
:
'
password'
XQUEUE_MYSQL_HOST
:
'
localhost'
XQUEUE_MYSQL_HOST
:
'
localhost'
XQUEUE_MYSQL_PORT
:
'
3306'
XQUEUE_MYSQL_PORT
:
'
3306'
XQUEUE_NEWRELIC_APPNAME
:
"
edX-xqueue"
# Internal vars below this line
# Internal vars below this line
#############################################
#############################################
...
...
playbooks/roles/xqueue/templates/xqueue.conf.j2
View file @
b680f44f
...
@@ -15,7 +15,7 @@ command={{ xqueue_venv_bin }}/gunicorn --preload -b {{ xqueue_gunicorn_host }}:{
...
@@ -15,7 +15,7 @@ command={{ xqueue_venv_bin }}/gunicorn --preload -b {{ xqueue_gunicorn_host }}:{
user={{ common_web_user }}
user={{ common_web_user }}
directory={{ xqueue_code_dir }}
directory={{ xqueue_code_dir }}
environment={% if COMMON_ENABLE_NEWRELIC %}NEW_RELIC_APP_NAME={{
EDXAPP_NEWRELIC_LMS_APPNAME }},NEW_RELIC_LICENSE_KEY={{ EDXAPP
_NEWRELIC_LICENSE }},{% endif -%}PID=/var/tmp/xqueue.pid,PORT={{ xqueue_gunicorn_port }},ADDRESS={{ xqueue_gunicorn_host }},LANG={{ XQUEUE_LANG }},DJANGO_SETTINGS_MODULE=xqueue.aws_settings,SERVICE_VARIANT="xqueue"
environment={% if COMMON_ENABLE_NEWRELIC %}NEW_RELIC_APP_NAME={{
XQUEUE_NEWRELIC_APPNAME }},NEW_RELIC_LICENSE_KEY={{ COMMON
_NEWRELIC_LICENSE }},{% endif -%}PID=/var/tmp/xqueue.pid,PORT={{ xqueue_gunicorn_port }},ADDRESS={{ xqueue_gunicorn_host }},LANG={{ XQUEUE_LANG }},DJANGO_SETTINGS_MODULE=xqueue.aws_settings,SERVICE_VARIANT="xqueue"
stdout_logfile={{ supervisor_log_dir }}/%(program_name)-stdout.log
stdout_logfile={{ supervisor_log_dir }}/%(program_name)-stdout.log
stderr_logfile={{ supervisor_log_dir }}/%(program_name)-stderr.log
stderr_logfile={{ supervisor_log_dir }}/%(program_name)-stderr.log
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment