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
OpenEdx
configuration
Commits
e38e8747
Commit
e38e8747
authored
Jan 29, 2016
by
arbabnazar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OPS-1278 Create role to install MySQL locally that is not experimental
parent
7f4a8db8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
11 deletions
+14
-11
playbooks/roles/mysql/defaults/main.yml
+2
-2
playbooks/roles/mysql/tasks/main.yml
+12
-9
No files found.
playbooks/roles/mysql/defaults/main.yml
View file @
e38e8747
---
mysql_debian_pkgs
:
-
software-properties-common
-
mysql-server
-
python-mysqldb
-
"
mysql-server=5.6.*"
playbooks/roles/mysql/tasks/main.yml
View file @
e38e8747
---
-
name
:
Add MySQL
experimental
apt key
-
name
:
Add MySQL
community
apt key
apt_key
:
id
:
4F4EA0AAE5267A6C
id
:
8C718D3B5072E1F5
keyserver
:
"
{{
COMMON_EDX_PPA_KEY_SERVER
}}"
state
:
present
-
name
:
Install
apt repository
-
name
:
Install
MySQL community apt repositories
apt_repository
:
repo
:
'
deb
http://ppa.launchpad.net/ondrej/mysql-experimental/ubuntu
precise
main'
repo
:
"
{{
item
}}"
update_cache
:
yes
with_items
:
-
"
deb
http://repo.mysql.com/apt/ubuntu/
precise
mysql-5.6"
-
"
deb-src
http://repo.mysql.com/apt/ubuntu/
precise
mysql-5.6"
-
name
:
install mysql 5
6 and dependencies
-
name
:
Install mysql-5.
6 and dependencies
apt
:
name
:
"
{{
item
}}"
install_recommends
:
yes
force
:
yes
install_recommends
:
yes
update_cache
:
yes
state
:
present
with_items
:
mysql_debian_pkgs
-
name
:
s
tart mysql
-
name
:
S
tart 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