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
93cfff8d
Commit
93cfff8d
authored
Jan 04, 2016
by
Calen Pennington
Committed by
zubair-arbi
Jan 08, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Back-port fixes to the django-ida role template
parent
b7f61836
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
playbooks/roles/ansible-role-django-ida/templates/docker/build/ROLE_NAME/Dockerfile.j2
+2
-2
playbooks/roles/ansible-role-django-ida/templates/tasks/main.yml.j2
+10
-0
playbooks/roles/ansible-role-django-ida/templates/templates/edx/app/ROLE_NAME/devstack.sh.j2
+1
-1
No files found.
playbooks/roles/ansible-role-django-ida/templates/docker/build/ROLE_NAME/Dockerfile.j2
View file @
93cfff8d
...
@@ -10,8 +10,8 @@
...
@@ -10,8 +10,8 @@
FROM edxops/trusty-common:latest
FROM edxops/trusty-common:latest
MAINTAINER edxops
MAINTAINER edxops
ENV
{{ role_name|upper }}_VERSION=master
ARG
{{ role_name|upper }}_VERSION=master
ENV
REPO_OWNER=edx
ARG
REPO_OWNER=edx
ADD . /edx/app/edx_ansible/edx_ansible
ADD . /edx/app/edx_ansible/edx_ansible
...
...
playbooks/roles/ansible-role-django-ida/templates/tasks/main.yml.j2
View file @
93cfff8d
...
@@ -23,6 +23,16 @@
...
@@ -23,6 +23,16 @@
- install
- install
- install:configuration
- install:configuration
- name: build virtualenv
command: "virtualenv {{ '{{' }} {{ role_name }}_venv_dir }}"
args:
creates: "{{ '{{' }} {{ role_name }}_venv_dir }}/bin/pip"
sudo_user: "{{ '{{' }} {{ role_name }}_user }}"
environment: "{{ '{{' }} {{ role_name }}_environment }}"
tags:
- install
- install:app-requirements
- name: install application requirements
- name: install application requirements
command: make requirements
command: make requirements
args:
args:
...
...
playbooks/roles/ansible-role-django-ida/templates/templates/edx/app/ROLE_NAME/devstack.sh.j2
View file @
93cfff8d
...
@@ -11,7 +11,7 @@ case $COMMAND in
...
@@ -11,7 +11,7 @@ case $COMMAND in
{{
'{%'
}}
set
executable
=
{{
role_name
}}
_venv_bin +
'/gunicorn'
%
}
{{
'{%'
}}
set
executable
=
{{
role_name
}}
_venv_bin +
'/gunicorn'
%
}
cd
/edx/app/edx_ansible/edx_ansible/docker/plays
cd
/edx/app/edx_ansible/edx_ansible/docker/plays
sudo
ansible-playbook
{{
role_name
}}
.yml
-c
local
-i
'127.0.0.1,'
\
sudo
/edx/app/edx_ansible/venvs/edx_ansible/bin/
ansible-playbook
{{
role_name
}}
.yml
-c
local
-i
'127.0.0.1,'
\
-t
'install:app-requirements,assets:gather,devstack'
\
-t
'install:app-requirements,assets:gather,devstack'
\
--extra-vars
=
"migrate_db=yes"
\
--extra-vars
=
"migrate_db=yes"
\
--extra-vars
=
"@/ansible_overrides.yml"
--extra-vars
=
"@/ansible_overrides.yml"
...
...
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