Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
syncontent
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Web Essentials Jira
Web Essentials Jira
Labels
Merge Requests
0
Merge Requests
0
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Visay Keo
syncontent
Commits
4839744a
Commit
4839744a
authored
Apr 20, 2015
by
Visay Keo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TASK] Adjust to mariadb change on dockerflow project
parent
e8e82142
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ansible/roles/database/tasks/main.yml
ansible/roles/database/tasks/main.yml
+3
-3
No files found.
ansible/roles/database/tasks/main.yml
View file @
4839744a
...
...
@@ -40,15 +40,15 @@
register
:
local_db_name
-
name
:
Drop local database (TODO)
local_action
:
shell bin/dockerflow run db mysqladmin -h db -u root drop {{ local_db_name.stdout }} -f
local_action
:
shell bin/dockerflow run db mysqladmin -h db -u root
-proot
drop {{ local_db_name.stdout }} -f
chdir="{{ local_path }}"
-
name
:
Re-create local database (TODO)
local_action
:
shell bin/dockerflow run db mysqladmin -h db -u root create {{ local_db_name.stdout }} --default-character-set=utf8
local_action
:
shell bin/dockerflow run db mysqladmin -h db -u root
-proot
create {{ local_db_name.stdout }} --default-character-set=utf8
chdir="{{ local_path }}"
-
name
:
Restore local database from remote dump
local_action
:
shell bin/dockerflow run db mysql -h db -u root {{ local_db_name.stdout }} < /tmp/{{ db_name.stdout }}.sql
local_action
:
shell bin/dockerflow run db mysql -h db -u root
-proot
{{ local_db_name.stdout }} < /tmp/{{ db_name.stdout }}.sql
chdir="{{ local_path }}"
-
name
:
Execute ./flow flow:cache:flush --force
...
...
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