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
c82e7e47
Commit
c82e7e47
authored
Jan 01, 2016
by
Arbab Nazar
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2655 from edx/arbab/devops-3451
DEVOPS-3451 The mysql 5.6 ppa for precise is gone: fix needed
parents
76fd8a1f
fa7e4301
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
25 deletions
+7
-25
playbooks/roles/mysql/tasks/main.yml
+7
-25
No files found.
playbooks/roles/mysql/tasks/main.yml
View file @
c82e7e47
# Installs packages to run edx locally on a single instance
# requires:
# - group_vars/all
# - common/tasks/main.yml
#
# This installs mysql-server-5.6
#
---
-
name
:
Install PPA for installing MySQL 5.6 on Ubuntu 12.04LTS
apt_key
:
id
:
E5267A6C
url
:
'
{{
COMMON_UBUNTU_APT_KEYSERVER
}}0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C'
state
:
present
-
name
:
install apt repository
-
name
:
Install apt repository
apt_repository
:
repo
:
'
deb
http://ppa.launchpad.net/ondrej/mysql-
5.6
/ubuntu
precise
main'
repo
:
'
deb
http://ppa.launchpad.net/ondrej/mysql-
experimental
/ubuntu
precise
main'
update_cache
:
yes
-
name
:
install mysql 56 and dependencies
...
...
@@ -25,6 +12,11 @@
state
:
present
with_items
:
mysql_debian_pkgs
-
name
:
start mysql
service
:
name
:
mysql
state
:
started
-
name
:
Ensure Anonymous user(s) does not exist
mysql_user
:
name
:
'
'
...
...
@@ -33,13 +25,3 @@
with_items
:
-
localhost
-
"
{{
ansible_hostname
}}"
-
name
:
Remove the test database
mysql_db
:
name
:
test
state
:
absent
-
name
:
start mysql
service
:
name
:
mysql
state
:
started
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