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
0dcec6ee
Commit
0dcec6ee
authored
Oct 17, 2017
by
muhammad-ammar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactoring
parent
a6ac5443
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
36 additions
and
14 deletions
+36
-14
playbooks/edx-east/video_pipeline.yml
+1
-1
playbooks/roles/video_common_vars/defaults/main.yml
+0
-0
playbooks/roles/video_common_vars/tasks/main.yml
+20
-0
playbooks/roles/video_common_vars/templates/config.yml.j2
+4
-0
playbooks/roles/video_pipeline/defaults/main.yml
+1
-3
playbooks/roles/video_pipeline/meta/main.yml
+10
-10
No files found.
playbooks/edx-east/video_pipeline.yml
View file @
0dcec6ee
...
...
@@ -8,6 +8,6 @@
roles
:
-
role
:
nginx
nginx_default_sites
:
-
pipeline
-
video_
pipeline
-
aws
-
role
:
video_pipeline
playbooks/roles/video_common_vars/defaults/main.yml
View file @
0dcec6ee
This diff is collapsed.
Click to expand it.
playbooks/roles/video_common_vars/tasks/main.yml
View file @
0dcec6ee
---
#
# edX Configuration
#
# github: https://github.com/edx/configuration
# wiki: https://openedx.atlassian.net/wiki/display/OpenOPS
# code style: https://openedx.atlassian.net/wiki/display/OpenOPS/Ansible+Code+Conventions
# license: https://github.com/edx/configuration/blob/master/LICENSE.TXT
#
#
#
# Tasks for role video_common
#
#
-
name
:
Write out app config file
template
:
src
:
"
config.yml.j2"
dest
:
"
{{
COMMON_CFG_DIR
}}/{{
video_common_service_name
}}.yml"
mode
:
"
0644"
playbooks/roles/video_common_vars/templates/config.yml.j2
0 → 100644
View file @
0dcec6ee
---
# {{ ansible_managed }}
{{ VIDEO_COMMON_CONFIG | to_nice_yaml }}
playbooks/roles/video_pipeline/defaults/main.yml
View file @
0dcec6ee
...
...
@@ -36,6 +36,7 @@ video_pipeline_deliver_worker: "{{ video_pipeline_service_name }}_deliver"
video_pipeline_debian_pkgs
:
-
libffi6
-
libffi-dev
-
ffmpeg
VIDEO_PIPELINE_HOST_ENVIRONMENT
:
'
sandbox'
...
...
@@ -80,9 +81,6 @@ VIDEO_PIPELINE_STATICFILES_STORAGE: "django.contrib.staticfiles.storage.StaticFi
VIDEO_PIPELINE_HOSTNAME
:
'
~^((stage|prod)-)?pipeline.*'
NGINX_VIDEO_PIPELINE_GUNICORN_HOSTS
:
-
127.0.0.1
VIDEO_PIPELINE_GUNICORN_EXTRA
:
"
"
VIDEO_PIPELINE_EXTRA_APPS
:
[]
...
...
playbooks/roles/video_pipeline/meta/main.yml
View file @
0dcec6ee
...
...
@@ -19,14 +19,6 @@
# my_role_var1: 'bar'
# }
dependencies
:
-
role
:
video_common_vars
VEDA_STATIC_ROOT
:
'
{{
VIDEO_PIPELINE_STATIC_ROOT
}}'
VEDA_DJANGO_SECRET_KEY
:
'
{{
VIDEO_PIPELINE_SECRET_KEY
}}'
VEDA_MYSQL_DB_NAME
:
'
{{
VIDEO_PIPELINE_DEFAULT_DB_NAME
}}'
VEDA_MYSQL_HOST
:
'
{{
VIDEO_PIPELINE_MYSQL_HOST
}}'
VEDA_MYSQL_USER
:
'
{{
VIDEO_PIPELINE_MYSQL_USER
}}'
VEDA_MYSQL_PASSWORD
:
'
{{
VIDEO_PIPELINE_MYSQL_PASSWORD
}}'
VEDA_URL_ROOT
:
'
{{
VIDEO_PIPELINE_URL_ROOT
}}'
-
role
:
edx_django_service
edx_django_service_repo
:
'
edx-video-pipeline'
edx_django_service_version
:
'
{{
VIDEO_PIPELINE_VERSION
}}'
...
...
@@ -57,5 +49,13 @@ dependencies:
edx_django_service_extra_apps
:
'
{{
VIDEO_PIPELINE_EXTRA_APPS
}}'
edx_django_service_automated_users
:
'
{{
VIDEO_PIPELINE_AUTOMATED_USERS
}}'
edx_django_service_use_python3
:
false
nginx_edx_django_service_gunicorn_hosts
:
'
{{
NGINX_VIDEO_PIPELINE_GUNICORN_HOSTS
}}'
edx_django_service_config
:
'
{{
VEDA_COMMON_CONFIG
}}'
edx_django_service_config
:
{}
-
role
:
video_common_vars
video_common_service_name
:
'
{{
video_pipeline_service_name
}}'
video_common_veda_url_root
:
'
{{
VIDEO_PIPELINE_URL_ROOT
}}'
video_common_veda_static_root
:
'
{{
VIDEO_PIPELINE_STATIC_ROOT
}}'
video_common_veda_django_secret_key
:
'
{{
VIDEO_PIPELINE_SECRET_KEY
}}'
video_common_veda_mysql_db_name
:
'
{{
VIDEO_PIPELINE_DEFAULT_DB_NAME
}}'
video_common_veda_mysql_host
:
'
{{
VIDEO_PIPELINE_MYSQL_HOST
}}'
video_common_veda_mysql_user
:
'
{{
VIDEO_PIPELINE_MYSQL_USER
}}'
video_common_veda_mysql_password
:
'
{{
VIDEO_PIPELINE_MYSQL_PASSWORD
}}'
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