Commit d02e846d by Sef Kloninger

Merge pull request #286 from edx/sef/fix-notifier-sqlite-location

Notifier config improvements: db dir, email vars
parents f3b987e8 dfa37b59
......@@ -4,6 +4,7 @@ notifier_user: "notifier"
notifier_web_user: "www-user"
notifier_home: "/opt/wwc/notifier"
notifier_venv_dir: "{{ notifier_home }}/virtualenvs/notifier"
notifier_db_dir: "{{ notifier_home }}/db"
notifier_source_repo: "git@github.com:edx/notifier.git"
notifier_code_dir: "{{ notifier_home }}/src"
notifier_version: "master"
......@@ -20,7 +21,7 @@ notifier_email_host: "localhost"
notifier_email_port: 25
notifier_email_user: ""
notifier_email_pass: ""
notifier_email_host: ""
notifier_email_use_tls: "False"
notifier_email_domain: "notifications.edx.org"
notifier_email_rewrite_recipient: ""
......@@ -62,7 +63,13 @@ notifier_debian_pkgs:
#
notifier_env_vars:
NOTIFIER_ENV: "{{ notifier_env }}"
NOTIFIER_DB_DIR: "{{ notifier_db_dir }}"
EMAIL_BACKEND: "{{ notifier_email_backend }}"
EMAIL_HOST: "{{ notifier_email_host }}"
EMAIL_PORT: "{{ notifier_email_port }}"
EMAIL_HOST_USER: "{{ notifier_email_user }}"
EMAIL_HOST_PASSWORD: "{{ notifier_email_pass }}"
EMAIL_USE_TLS: "{{ notifier_email_use_tls }}"
EMAIL_DOMAIN: "{{ notifier_email_domain }}"
EMAIL_REWRITE_RECIPIENT: "{{ notifier_email_rewrite_recipient }}"
LMS_URL_BASE: "{{ notifier_lms_url_base }}"
......
......@@ -125,9 +125,9 @@
- install
- update
- name: notifier | create notifier/db directory
- name: notifier | create notifier DB directory
file:
path="{{ notifier_home }}/db" mode=2775 state=directory
path="{{ notifier_db_dir }}" mode=2775 state=directory
tags:
- notifier
- install
......
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