diff --git a/roles/drupal/tasks/instance.yml b/roles/drupal/tasks/instance.yml index bb6e689..cf335ea 100644 --- a/roles/drupal/tasks/instance.yml +++ b/roles/drupal/tasks/instance.yml @@ -85,7 +85,7 @@ group: '{{ nginx_group }}' recurse: true -- name: Update settings.php for Drupal 8 - {{ instance.name }} +- name: Update settings.php for Drupal - {{ instance.name }} ansible.builtin.template: src: default.settings.php.j2 dest: "{{ instance.dir }}{{ instance.vhost_dir | default(drupal_vhost_dir) }}/sites/default/settings.php" diff --git a/roles/drupal/templates/env.j2 b/roles/drupal/templates/env.j2 index 3cafdf7..7051756 100644 --- a/roles/drupal/templates/env.j2 +++ b/roles/drupal/templates/env.j2 @@ -1,6 +1,6 @@ APP_ENV={{ instance.drupal_app_env | default('prod') }} {% if instance.drupal_envs is defined %} {% for drupal_env in instance.drupal_envs %} -{{ key }}={{ value}} +{{ name }}={{ value }} {% endfor -%} {% endif %}