mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-15 17:20:25 +00:00
Merge pull request #109 from HealthForge/master
Allow loading into remote databases
This commit is contained in:
commit
9152d88cbf
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ include:
|
|||
|
||||
{{ state_id }}_load:
|
||||
cmd.wait:
|
||||
- name: mysql -u {{ mysql_salt_user }} -p{{ mysql_salt_pass }} {{ database }} < /etc/mysql/{{ database }}.schema
|
||||
- name: mysql -u {{ mysql_salt_user }} -h{{ mysql_host }} -p{{ mysql_salt_pass }} {{ database }} < /etc/mysql/{{ database }}.schema
|
||||
- watch:
|
||||
- file: {{ state_id }}_schema
|
||||
- mysql_database: {{ state_id }}
|
||||
|
|
Loading…
Add table
Reference in a new issue