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
83053b52
Commit
83053b52
authored
Dec 29, 2014
by
Max Rothman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make notifier work on defaults
parent
173c8e1a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
7 deletions
+18
-7
playbooks/edx-east/edx_continuous_integration.yml
+1
-0
playbooks/edx_sandbox.yml
+1
-0
playbooks/roles/edxapp/defaults/main.yml
+2
-1
playbooks/roles/notifier/defaults/main.yml
+2
-2
playbooks/roles/notifier/tasks/main.yml
+10
-4
playbooks/vagrant-devstack.yml
+2
-0
No files found.
playbooks/edx-east/edx_continuous_integration.yml
View file @
83053b52
...
...
@@ -28,6 +28,7 @@
-
oraclejdk
-
elasticsearch
-
forum
-
{
role
:
notifier
,
NOTIFIER_DIGEST_TASK_INTERVAL
:
"
5"
}
-
{
role
:
"
xqueue"
,
update_users
:
True
}
-
role
:
xserver
when
:
XSERVER_GIT_IDENTITY|length > 0
...
...
playbooks/edx_sandbox.yml
View file @
83053b52
...
...
@@ -38,6 +38,7 @@
-
oraclejdk
-
elasticsearch
-
forum
-
{
role
:
notifier
,
NOTIFIER_DIGEST_TASK_INTERVAL
:
"
5"
}
-
{
role
:
"
xqueue"
,
update_users
:
True
}
-
role
:
ora
when
:
ENABLE_LEGACY_ORA
...
...
playbooks/roles/edxapp/defaults/main.yml
View file @
83053b52
...
...
@@ -135,6 +135,7 @@ EDXAPP_FEATURES:
AUTOMATIC_AUTH_FOR_TESTING
:
$EDXAPP_ENABLE_AUTO_AUTH
ENABLE_THIRD_PARTY_AUTH
:
$EDXAPP_ENABLE_THIRD_PARTY_AUTH
ENABLE_VIDEO_UPLOAD_PIPELINE
:
false
ENABLE_DISCUSSION_HOME_PANEL
:
true
EDXAPP_BOOK_URL
:
"
"
# This needs to be set to localhost
...
...
@@ -282,7 +283,7 @@ EDXAPP_TRACKING_SEGMENTIO_WEBHOOK_SECRET: ""
EDXAPP_SEGMENT_IO_KEY
:
"
"
EDXAPP_SEGMENT_IO
:
false
EDXAPP_EDX_API_KEY
:
"
"
EDXAPP_EDX_API_KEY
:
"
PUT_YOUR_API_KEY_HERE
"
# This is the default set in common.py
EDXAPP_VERIFY_STUDENT
:
DAYS_GOOD_FOR
:
365
...
...
playbooks/roles/notifier/defaults/main.yml
View file @
83053b52
...
...
@@ -46,8 +46,8 @@ NOTIFIER_EMAIL_REWRITE_RECIPIENT: ""
NOTIFIER_LMS_URL_BASE
:
"
http://localhost:8000"
NOTIFIER_LMS_SECRET_KEY
:
"
PUT_YOUR_SECRET_KEY_HERE"
NOTIFIER_COMMENT_SERVICE_BASE
:
"
http://localhost:
4567
"
NOTIFIER_COMMENT_SERVICE_API_KEY
:
"
PUT_YOUR_API_KEY_HERE
"
NOTIFIER_COMMENT_SERVICE_BASE
:
"
http://localhost:
18080
"
NOTIFIER_COMMENT_SERVICE_API_KEY
:
"
password
"
NOTIFIER_USER_SERVICE_BASE
:
"
http://localhost:8000"
NOTIFIER_USER_SERVICE_API_KEY
:
"
PUT_YOUR_API_KEY_HERE"
...
...
playbooks/roles/notifier/tasks/main.yml
View file @
83053b52
...
...
@@ -43,10 +43,16 @@
-
name
:
update ca certs globally
shell
:
update-ca-certificates
-
name
:
create notifier user {{ NOTIFIER_USER }}
user
:
name={{ NOTIFIER_USER }} state=present shell=/bin/bash
home={{ NOTIFIER_HOME }} createhome=yes
-
name
:
create notifier user {{ notifier_user }}
user
:
>
name="{{ notifier_user }}" state=present shell=/bin/false
home="{{ notifier_app_dir }}" createhome=no
-
name
:
create notifier app dir
file
:
>
path="{{ notifier_app_dir }}" state=directory
owner="{{ notifier_user }}" group="{{ common_web_group }}"
notify
:
[
restart notifier-scheduler
,
restart notifier-celery-workers
]
-
name
:
setup the notifier env
template
:
...
...
playbooks/vagrant-devstack.yml
View file @
83053b52
...
...
@@ -22,6 +22,8 @@
-
oraclejdk
-
elasticsearch
-
forum
-
role
:
notifier
NOTIFIER_DIGEST_TASK_INTERVAL
:
"
5"
-
role
:
ora
when
:
ENABLE_LEGACY_ORA
-
browsers
...
...
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