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
aba286b7
Commit
aba286b7
authored
Feb 02, 2016
by
arbabnazar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
check the mysql 5.6 experiment is installed or not
parent
660c8256
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
playbooks/roles/mysql/tasks/main.yml
+8
-2
playbooks/roles/mysql/tasks/mysql.yml
+0
-1
No files found.
playbooks/roles/mysql/tasks/main.yml
View file @
aba286b7
---
---
-
name
:
Look for mysql 5.6
-
name
:
Look for mysql 5.6
shell
:
dpkg -L mysql-server-5.6
shell
:
"
dpkg
-s
mysql-server"
ignore_errors
:
yes
ignore_errors
:
yes
register
:
mysql_56_installed
register
:
mysql_56_installed
changed_when
:
no
-
fail
:
msg
:
"
You
have
already
installed
the
experimental
MySQL
5.6
repo,
Please
first
remove
that"
when
:
"
'5.6.14'
in
mysql_56_installed.stdout"
-
include
:
mysql.yml
-
include
:
mysql.yml
when
:
mysql_56_installed.rc == 1
when
:
mysql_56_installed.rc == 1
\ No newline at end of file
playbooks/roles/mysql/tasks/mysql.yml
View file @
aba286b7
...
@@ -14,7 +14,6 @@
...
@@ -14,7 +14,6 @@
apt
:
apt
:
name
:
"
{{
item
}}"
name
:
"
{{
item
}}"
install_recommends
:
yes
install_recommends
:
yes
update_cache
:
yes
state
:
present
state
:
present
with_items
:
mysql_debian_pkgs
with_items
:
mysql_debian_pkgs
...
...
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