Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-admin-essentials
Project
Project
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etersoft-admin-essentials
Commits
460c802a
Commit
460c802a
authored
Nov 25, 2018
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update upgrade_mysql.yml
parent
36ee31ba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
upgrade_mysql.yml
ansible/playbooks/upgrade_mysql.yml
+19
-1
No files found.
ansible/playbooks/upgrade_mysql.yml
View file @
460c802a
...
...
@@ -20,13 +20,31 @@
register
:
upgrd
-
debug
:
msg="{{ upgrd.stdout }}"
-
debug
:
msg="{{ upgrd.stderr }}"
-
name
:
restart service
shell
:
vzctl exec mysql service mysqld restart
register
:
restart
-
debug
:
msg="{{ restart.stdout }}"
-
debug
:
msg="{{ restart.stderr }}"
-
name
:
upgrade MariaDB-server
shell
:
vzctl exec mariadb epmi mariadb-server
register
:
epmi2
-
debug
:
msg="{{ epmi2.stdout }}"
-
debug
:
msg="{{ epmi2.stderr }}"
-
name
:
MariaDB update operation
shell
:
vzctl exec mariadb mysql_upgrade
register
:
upgrd2
-
debug
:
msg="{{ upgrd2.stdout }}"
-
debug
:
msg="{{ upgrd2.stderr }}"
-
name
:
restart service
shell
:
vzctl exec mariadb service mysqld restart
register
:
restart2
-
debug
:
msg="{{ restart2.stdout }}"
-
debug
:
msg="{{ restart2.stderr }}"
-
hosts
:
mysql-on-hosts
gather_facts
:
no
tasks
:
...
...
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