Commit 5e43508b by muhammad-ammar

Add role for veda_ffmpeg

parent 925f531e
- Role: veda_ffmpeg
- New role added to compile ffmpeg for video pipeline. It will be used as a dependency for video pipeline roles.
- Role: edxapp
- Added `EDXAPP_BRANCH_IO_KEY` to configure branch.io journey app banners.
......
---
#
# 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
#
##
# Defaults for veda_ffmpeg role
#
VEDA_FFMPEG_GIT_URL: 'https://github.com/yro/v_videocompile'
# used /opt path to clone the repo and then install ffmpeg using the cloned repo
veda_ffmpeg_root: '/opt/veda_ffmpeg'
VEDA_FFMPEG_VERSION: 'master'
---
#
# 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
#
# Dependencies for veda_ffmpeg role
#
# Allow this role to be duplicated in dependencies.
allow_duplicates: yes
---
#
# 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 veda_ffmpeg role
#
- name: checkout v_videocompile
git:
repo: "{{ VEDA_FFMPEG_GIT_URL }}"
dest: "{{ veda_ffmpeg_root }}"
version: "{{ VEDA_FFMPEG_VERSION }}"
tags:
- install
- install:code
- name: install v_videocompile
command: "python setup.py install"
args:
chdir: "{{ veda_ffmpeg_root }}"
tags:
- install
- install:code
- name: compile v_videocompile
command: "v_videocompile"
tags:
- install
- install:system-requirements
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