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
edx
configuration
Commits
5d279339
Commit
5d279339
authored
Oct 19, 2016
by
Awais Qureshi
Committed by
GitHub
Oct 19, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3399 from edx/awais786/ECOM-5847-disc-email-config
ECOM-5847 ( Adding email functionality in DISCOVERY IDA )
parents
02e1624e
39805943
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
1 deletions
+33
-1
playbooks/roles/discovery/defaults/main.yml
+33
-1
No files found.
playbooks/roles/discovery/defaults/main.yml
View file @
5d279339
...
@@ -101,7 +101,24 @@ DISCOVERY_MEDIA_STORAGE_BACKEND:
...
@@ -101,7 +101,24 @@ DISCOVERY_MEDIA_STORAGE_BACKEND:
MEDIA_URL
:
'
{{
DISCOVERY_MEDIA_URL
}}'
MEDIA_URL
:
'
{{
DISCOVERY_MEDIA_URL
}}'
DISCOVERY_STATICFILES_STORAGE
:
'
django.contrib.staticfiles.storage.StaticFilesStorage'
DISCOVERY_STATICFILES_STORAGE
:
'
django.contrib.staticfiles.storage.StaticFilesStorage'
# You can set different email backends with django:
# https://docs.djangoproject.com/en/1.9/topics/email/#email-backends
DISCOVERY_EMAIL_BACKEND
:
'
django_ses.SESBackend'
# For email backend django-ses, following settings are required
DISCOVERY_AWS_ACCESS_KEY_ID
:
'
None'
DISCOVERY_AWS_SECRET_ACCESS_KEY
:
'
None'
DISCOVERY_AWS_SES_REGION_NAME
:
'
us-east-1'
DISCOVERY_AWS_SES_REGION_ENDPOINT
:
'
email.us-east-1.amazonaws.com'
# For default email backend SMTP, following settings are required
DISCOVERY_EMAIL_HOST
:
'
localhost'
DISCOVERY_EMAIL_PORT
:
25
DISCOVERY_EMAIL_USE_TLS
:
False
DISCOVERY_EMAIL_HOST_USER
:
'
'
DISCOVERY_EMAIL_HOST_PASSWORD
:
'
'
DISCOVERY_EXTRA_APPS
:
[]
DISCOVERY_EXTRA_APPS
:
[]
DISCOVERY_SERVICE_CONFIG
:
DISCOVERY_SERVICE_CONFIG
:
...
@@ -146,6 +163,21 @@ DISCOVERY_SERVICE_CONFIG:
...
@@ -146,6 +163,21 @@ DISCOVERY_SERVICE_CONFIG:
MEDIA_STORAGE_BACKEND
:
'
{{
DISCOVERY_MEDIA_STORAGE_BACKEND
}}'
MEDIA_STORAGE_BACKEND
:
'
{{
DISCOVERY_MEDIA_STORAGE_BACKEND
}}'
STATICFILES_STORAGE
:
'
{{
DISCOVERY_STATICFILES_STORAGE
}}'
STATICFILES_STORAGE
:
'
{{
DISCOVERY_STATICFILES_STORAGE
}}'
EMAIL_BACKEND
:
'
{{
DISCOVERY_EMAIL_BACKEND
}}'
# Settings for django-ses email backend
AWS_ACCESS_KEY_ID
:
'
{{
DISCOVERY_AWS_ACCESS_KEY_ID
}}'
AWS_SECRET_ACCESS_KEY
:
'
{{
DISCOVERY_AWS_SECRET_ACCESS_KEY
}}'
AWS_SES_REGION_NAME
:
'
{{
DISCOVERY_AWS_SES_REGION_NAME
}}'
AWS_SES_REGION_ENDPOINT
:
'
{{
DISCOVERY_AWS_SES_REGION_ENDPOINT
}}'
# Settings for default django SMTP email backend
EMAIL_HOST
:
'
{{
DISCOVERY_EMAIL_HOST
}}'
EMAIL_PORT
:
'
{{
DISCOVERY_EMAIL_PORT
}}'
EMAIL_USE_TLS
:
'
{{
DISCOVERY_EMAIL_USE_TLS
}}'
EMAIL_HOST_USER
:
'
{{
DISCOVERY_EMAIL_HOST_USER
}}'
EMAIL_HOST_PASSWORD
:
'
{{
DISCOVERY_EMAIL_HOST_PASSWORD
}}'
DISCOVERY_REPOS
:
DISCOVERY_REPOS
:
-
PROTOCOL
:
"
{{
COMMON_GIT_PROTOCOL
}}"
-
PROTOCOL
:
"
{{
COMMON_GIT_PROTOCOL
}}"
DOMAIN
:
"
{{
COMMON_GIT_MIRROR
}}"
DOMAIN
:
"
{{
COMMON_GIT_MIRROR
}}"
...
...
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