Skip to content
Snippets Groups Projects
Commit e46262c0 authored by Forrest's avatar Forrest
Browse files

Merge pull request #95 from ogabrielsantos/master

Fix empty "mysql_install_datadir" dict when OS family is not "Arch"
parents d6a4a1a2 9fa1ddd5
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment