Commit 5ba698b1 by Clinton Blackburn Committed by Clinton Blackburn

WIP: Playing with a common layer for IDAs

parent 2fc36f23
......@@ -18,6 +18,10 @@ WORKDIR /edx/app/edx_ansible/edx_ansible/docker/plays
COPY docker/build/credentials/ansible_overrides.yml /
COPY docker/build/devstack/ansible_overrides.yml /devstack/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' \
......
......@@ -18,6 +18,10 @@ WORKDIR /edx/app/edx_ansible/edx_ansible/docker/plays
COPY docker/build/discovery/ansible_overrides.yml /
COPY docker/build/devstack/ansible_overrides.yml /devstack/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' \
......
- name: Build Docker base image
hosts: all
become: True
gather_facts: True
vars:
serial_count: 1
serial: "{{ serial_count }}"
roles:
- nginx
- docker
- supervisor
......@@ -10,7 +10,7 @@
#
#
# Tasks for role docker
#
#
# Overview:
#
# This is a special role for providing common, docker specific tasks.
......@@ -18,4 +18,22 @@
# Dependencies:
#
# 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
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