File tree 5 files changed +7
-4
lines changed
5 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,9 @@ db_pull_skip_restore: false
24
24
db_pull_exclude_table : []
25
25
db_pull_exclude_table_data : []
26
26
27
+ db_pull_mysql_mysql_binary_path : mysql
28
+ db_pull_mysql_mysqldump_binary_path : mysqldump
29
+
27
30
db_pull_postgresql_createdb_binary_path : createdb
28
31
db_pull_postgresql_dropdb_binary_path : dropdb
29
32
db_pull_postgresql_pg_dump_binary_path : pg_dump
Original file line number Diff line number Diff line change 2
2
delegate_to : localhost
3
3
become : false
4
4
shell : >
5
- mysql \
5
+ {{ db_pull_mysql_mysql_binary_path }} \
6
6
-u {{ db_pull_local_database_user }} \
7
7
--password={{ db_pull_local_database_password }} \
8
8
-h {{ db_pull_local_database_host }} \
Original file line number Diff line number Diff line change 2
2
delegate_to : localhost
3
3
become : false
4
4
shell : >
5
- mysql \
5
+ {{ db_pull_mysql_mysql_binary_path }} \
6
6
-u {{ db_pull_local_database_user }} \
7
7
--password={{ db_pull_local_database_password }} \
8
8
-h {{ db_pull_local_database_host }} \
Original file line number Diff line number Diff line change 1
1
- name : backup mysql db server
2
2
shell : >
3
- mysqldump \
3
+ {{ db_pull_mysql_mysqldump_binary_path }} \
4
4
-u {{ db_pull_remote_database_user }} \
5
5
--password={{ db_pull_remote_database_password }} \
6
6
{{ ['--ignore-table']|product(db_pull_exclude_table)|map('join', ' ')|join(' ') }} \
Original file line number Diff line number Diff line change 2
2
delegate_to : localhost
3
3
become : false
4
4
shell : >
5
- mysql \
5
+ {{ db_pull_mysql_mysql_binary_path }} \
6
6
-u {{ db_pull_local_database_user }} \
7
7
--password={{ db_pull_local_database_password }} \
8
8
-h {{ db_pull_local_database_host }} \
You can’t perform that action at this time.
0 commit comments