Skip to content
Snippets Groups Projects
Commit 6bc3f186 authored by Wolodja Wentland's avatar Wolodja Wentland
Browse files

Remove require on mysql_debconf if password has not been set

This fixes #52
parent 991fe7cc
No related branches found
No related tags found
No related merge requests found
...@@ -56,7 +56,7 @@ mysql_delete_anonymous_user_{{ host }}: ...@@ -56,7 +56,7 @@ mysql_delete_anonymous_user_{{ host }}:
mysqld: mysqld:
pkg.installed: pkg.installed:
- name: {{ mysql.server }} - name: {{ mysql.server }}
{% if os_family == 'Debian' %} {% if os_family == 'Debian' and mysql_root_password %}
- require: - require:
- debconf: mysql_debconf - debconf: mysql_debconf
{% endif %} {% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment