Commit 4839744a authored by Visay Keo's avatar Visay Keo

[TASK] Adjust to mariadb change on dockerflow project

parent e8e82142
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment