Skip to content
Snippets Groups Projects
Unverified Commit 0a6b6ff0 authored by Imran Iqbal's avatar Imran Iqbal Committed by GitHub
Browse files

Merge pull request #234 from sticky-note/fix/db_load

fix(db_load): preserve whitespace between -h and -p on the db load `c…
parents 58fd821b a05f263f
Branches hsh_3.10
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ include:
{{ state_id }}_load:
cmd.wait:
- name: mysql -u {{ mysql_salt_user }} -h{{ mysql_host }} {%- if mysql_salt_pass %}-p{%- endif %}{{ mysql_salt_pass }} {{ database }} < /etc/mysql/{{ database }}.schema
- name: mysql -u {{ mysql_salt_user }} -h{{ mysql_host }} {% if mysql_salt_pass %}-p{%- endif %}{{ mysql_salt_pass }} {{ database }} < /etc/mysql/{{ database }}.schema
- watch:
- file: {{ state_id }}_schema
- mysql_database: {{ state_id }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment