Ensure that Drupal settings files are present

This commit is contained in:
Oliver Davies 2019-05-02 19:11:07 +01:00
parent dbbb8b225f
commit a11d7b65b7
3 changed files with 14 additions and 0 deletions

View file

@ -6,3 +6,11 @@
with_subelements:
- '{{ drupal_settings }}'
- sites
- name: Ensure that Drupal settings files are present
template:
src: settings.php.j2
dest: '{{ item.0.root }}/sites/{{ item.1.name|default("default") }}/settings.php
with_subelements:
- '{{ drupal_settings }}'
- sites