Skip to content
Snippets Groups Projects
Commit 636951bf authored by jurgenhaas's avatar jurgenhaas
Browse files

Add missing quotes and ignore mysql user creation errors

parent 0d0e6c5a
Branches
No related tags found
No related merge requests found
......@@ -42,6 +42,7 @@
- '::1'
- '{{ inventory_hostname }}'
when: db.username is defined and db.username != 'root'
ignore_errors: true
- name: "Create MySQL User for extra Databases"
mysql_user:
......@@ -58,3 +59,4 @@
- '{{ extra }}'
- ['localhost', '127.0.0.1', '::1']
when: item.0.username is defined and item.0.username != 'root'
ignore_errors: true
......@@ -50,7 +50,7 @@ $settings['trusted_host_patterns'] = array(
$config['system.file']['path.temporary'] = '{% if drupal.jail is defined %}{{ jailroot }}/{{ drupal.jail.name }}{% endif %}/tmp';
{% for directory in drupal_config_directories %}
$config_directories[{{ directory }}] = 'sites/{{ item.shortname|default("default") }}/files/{{ item.config|default("config") }}/{{ directory }}';
$config_directories['{{ directory }}'] = 'sites/{{ item.shortname|default("default") }}/files/{{ item.config|default("config") }}/{{ directory }}';
{% endfor %}
{% for line in item.extra_settings|default([]) %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment