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
aa8400b7
Commit
aa8400b7
authored
Mar 22, 2017
by
Clinton Blackburn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP: Playing with a common layer for IDAs
parent
0983ddb2
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
0 deletions
+37
-0
docker/build/credentials/Dockerfile
+4
-0
docker/build/discovery/Dockerfile
+4
-0
docker/plays/docker_ida_base.yml
+11
-0
playbooks/roles/docker/tasks/main.yml
+18
-0
No files found.
docker/build/credentials/Dockerfile
View file @
aa8400b7
...
...
@@ -17,6 +17,10 @@ WORKDIR /edx/app/edx_ansible/edx_ansible/docker/plays
COPY
docker/build/credentials/ansible_overrides.yml /
RUN
/edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook docker_ida_base.yml
\
-c
local
-i
'127.0.0.1,'
\
-t
'install'
RUN
sudo
/edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook credentials.yml
\
-c
local
-i
'127.0.0.1,'
\
-t
'install,assets,devstack'
\
...
...
docker/build/discovery/Dockerfile
View file @
aa8400b7
...
...
@@ -17,6 +17,10 @@ WORKDIR /edx/app/edx_ansible/edx_ansible/docker/plays
COPY
docker/build/discovery/ansible_overrides.yml /
RUN
/edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook docker_ida_base.yml
\
-c
local
-i
'127.0.0.1,'
\
-t
'install'
RUN
sudo
/edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook discovery.yml
\
-c
local
-i
'127.0.0.1,'
\
-t
'install,assets,devstack'
\
...
...
docker/plays/docker_ida_base.yml
0 → 100644
View file @
aa8400b7
-
name
:
Build Docker base image
hosts
:
all
become
:
True
gather_facts
:
True
vars
:
serial_count
:
1
serial
:
"
{{
serial_count
}}"
roles
:
-
nginx
-
docker
-
supervisor
playbooks/roles/docker/tasks/main.yml
View file @
aa8400b7
...
...
@@ -19,3 +19,21 @@
#
# Inherits from the container role via meta/main.yml
#
-
name
:
install python3
apt
:
name
:
"
{{
item
}}"
with_items
:
-
python3-pip
-
python3-dev
tags
:
-
install
-
install:system-requirements
-
name
:
install nodenv
command
:
"
{{
item
}}
install
nodeenv"
with_items
:
-
pip
-
pip3
tags
:
-
install
-
install:system-requirements
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