Commit 961b775b by Kevin Falcone Committed by GitHub

Merge pull request #3470 from edx/jibsheet/change-mysql-ppa

Switch back to ondrej's mysql PPA
parents fd7f5fad 478181e6
FROM edxops/xenial-common:latest
MAINTAINER edxops
ADD . /edx/app/edx_ansible/edx_ansible
COPY docker/build/mysql/ansible_overrides.yml /
WORKDIR /edx/app/edx_ansible/edx_ansible/docker/plays
RUN /edx/app/edx_ansible/venvs/edx_ansible/bin/ansible-playbook -vvvv mysql.yml \
-i '127.0.0.1,' -c local \
-e@/ansible_overrides.yml
WORKDIR /edx/app
- name: Deploy MySQL 5.6
hosts: all
sudo: True
gather_facts: True
roles:
- common_vars
- docker
- mysql
......@@ -39,9 +39,13 @@
keyserver: "{{ COMMON_EDX_PPA_KEY_SERVER }}"
state: present
- name: Install MySQL community apt repositories
# repo.mysql.com does not have 5.6 packages for xenial
# This broke back in 2015-12 but the packages for precise are back for 5.6
# If this goes away again, we should just install from ppa.edx.org until we
# can run on 5.7
- name: Install MySQL from ondrej PPA
apt_repository:
repo: "deb http://repo.mysql.com/apt/ubuntu/ precise mysql-5.6"
repo: "ppa:ondrej/mysql-5.6"
update_cache: yes
- name: Install mysql-5.6 and dependencies
......
......@@ -22,3 +22,4 @@ weights:
- rabbitmq: 2
- automated: 1
- programs: 4
- mysql: 2
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