mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-10 23:01:44 +00:00
Merge pull request #95 from ogabrielsantos/master
Fix empty "mysql_install_datadir" dict when OS family is not "Arch"
This commit is contained in:
commit
e46262c0a8
1 changed files with 1 additions and 1 deletions
|
@ -57,9 +57,9 @@ mysql_delete_anonymous_user_{{ host }}:
|
|||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
{% if os_family == 'Arch' %}
|
||||
# on arch linux: inital mysql datadirectory is not created
|
||||
mysql_install_datadir:
|
||||
{% if os_family == 'Arch' %}
|
||||
cmd.run:
|
||||
- name: mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
|
||||
- user: root
|
||||
|
|
Loading…
Add table
Reference in a new issue