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
45a216ba
Commit
45a216ba
authored
Dec 10, 2015
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port devstack changes back to the template role
parent
4aa969bf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
playbooks/roles/ansible-role-django-ida/templates/docker/build/ROLE_NAME/Dockerfile.j2
+1
-1
playbooks/roles/ansible-role-django-ida/templates/docker/plays/ROLE_NAME.yml.j2
+0
-1
playbooks/roles/ansible-role-django-ida/templates/tasks/main.yml.j2
+2
-1
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 @
45a216ba
...
...
@@ -21,7 +21,7 @@ WORKDIR /edx/app/edx_ansible/edx_ansible/docker/plays
COPY docker/build/{{ role_name }}/ansible_overrides.yml /
RUN sudo ansible-playbook {{ role_name }}.yml \
-c local -i '127.0.0.1,' \
-t 'install,assets' \
-t 'install,assets
,devstack:install
' \
--extra-vars="@/ansible_overrides.yml" \
--extra-vars="{{ role_name|upper }}_VERSION=${{ role_name|upper }}_VERSION" \
--extra-vars="COMMON_GIT_PATH=$REPO_OWNER"
...
...
playbooks/roles/ansible-role-django-ida/templates/docker/plays/ROLE_NAME.yml.j2
View file @
45a216ba
...
...
@@ -6,7 +6,6 @@
serial_count: 1
serial: "{{ '{{' }} serial_count }}"
roles:
- docker
- nginx
- role: {{ role_name }}
nginx_default_sites:
...
...
playbooks/roles/ansible-role-django-ida/templates/tasks/main.yml.j2
View file @
45a216ba
...
...
@@ -40,7 +40,6 @@
sudo_user: "{{ '{{' }} {{ role_name }}_user }}"
environment: "{{ '{{' }} {{ role_name }}_environment }}"
tags:
- install
- devstack
- devstack:install
...
...
@@ -211,6 +210,7 @@
owner=root group={{ '{{' }} common_web_user }} mode=0640
notify: reload nginx
tags:
- install
- install:vhosts
- name: Creating nginx config links for {{ role_name }}
...
...
@@ -220,5 +220,6 @@
state=link owner=root group=root
notify: reload nginx
tags:
- install
- install:vhosts
playbooks/roles/ansible-role-django-ida/templates/templates/edx/app/ROLE_NAME/devstack.sh.j2
View file @
45a216ba
...
...
@@ -12,7 +12,7 @@ case $COMMAND in
cd
/edx/app/edx_ansible/edx_ansible/docker/plays
sudo
ansible-playbook
{{
role_name
}}
.yml
-c
local
-i
'127.0.0.1,'
\
-t
'install:app-requirements,assets:gather,
migrate:devstack,manage:devstack
'
\
-t
'install:app-requirements,assets:gather,
devstack:migrate,devstack:manage
'
\
--extra-vars
=
"migrate_db=yes"
\
--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