Commit 83053b52 by Max Rothman

Make notifier work on defaults

parent 173c8e1a
......@@ -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
......
......@@ -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
......
......@@ -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
......
......@@ -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"
......
......@@ -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:
......
......@@ -22,6 +22,8 @@
- oraclejdk
- elasticsearch
- forum
- role: notifier
NOTIFIER_DIGEST_TASK_INTERVAL: "5"
- role: ora
when: ENABLE_LEGACY_ORA
- browsers
......
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