Configure notifier database.
Configures notifier to use MySQL database (and creates it if it doesn't already exist).
Notifier uses a local sqlite database by default to be able to benefit from https://github.com/edx/notifier/pull/43.
Testing instructions:
- Checkout this branch and start deploying a new instance.
- Verify that the
notifier
database is created and that these ansible variables are correctly set:
NOTIFIER_DATABASE_ENGINE
NOTIFIER_DATABASE_NAME
NOTIFIER_DATABASE_USER
NOTIFIER_DATABASE_PASSWORD
NOTIFIER_DATABASE_HOST
NOTIFIER_DATABASE_PORT
Alternatively wait for me to deploy a sandbox that combines https://github.com/edx/configuration/pull/3695, https://github.com/edx/notifier/pull/42, and https://github.com/edx/notifier/pull/43.
Reviewers:
-
@haikuginger