Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
62654ffb
authored
Jul 17, 2016
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
updated ansible scripts to reflect MySQL 5.7 dependencies
parent
b1c42a56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
sails/roles/mysql/tasks/main.yml
sails/roles/mysql/tasks/main.yml
View file @
62654ffb
...
@@ -11,6 +11,12 @@
...
@@ -11,6 +11,12 @@
-
root_password_again
-
root_password_again
when
:
ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
when
:
ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
-
name
:
Install MySQL repos
apt
:
deb
:
http://dev.mysql.com/get/mysql-apt-config_0.7.3-1_all.deb
state
:
present
when
:
ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
-
name
:
Update apt-get cache
-
name
:
Update apt-get cache
apt
:
apt
:
update-cache
:
yes
update-cache
:
yes
...
@@ -21,15 +27,17 @@
...
@@ -21,15 +27,17 @@
name
:
"
{{
item
}}"
name
:
"
{{
item
}}"
state
:
present
state
:
present
with_items
:
with_items
:
-
mysql-server
-
mysql-server
-5.7
-
mysql-client
-
mysql-client
-
python-mysqldb
# required by ansible
-
python-mysqldb
# required by ansible
when
:
ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
when
:
ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
-
name
:
Add MySQL community repository
-
name
:
Add MySQL community repository
yum
:
yum
:
name
:
"
http://dev.mysql.com/get/mysql
-community-release-el7-5
.noarch.rpm"
name
:
"
http://dev.mysql.com/get/mysql
57-community-release-el7-8
.noarch.rpm"
state
:
present
state
:
present
when
:
ansible_distribution == 'CentOS' and ansible_distribution_major_version == '7'
when
:
ansible_distribution == 'CentOS' and ansible_distribution_major_version == '7'
-
name
:
Install mysql packages
-
name
:
Install mysql packages
yum
:
yum
:
name
:
"
{{
item
}}"
name
:
"
{{
item
}}"
...
...
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