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

Add site specific drush.yml file

parent 3033b4af
No related branches found
No related tags found
No related merge requests found
......@@ -167,6 +167,27 @@
with_items: '{{ drupal.domains }}'
when: item.install|default(true)
- block:
- name: "Create the drush.yml files"
template:
src='drush-9.yml.jinja2'
dest='{{ webRoot }}/settings/{{ item.shortname|default("default") }}/drush.yml'
with_items: '{{ drupal.domains }}'
when: item.install|default(true)
- name: "Create symbolic links for drush.yml"
file:
src='{{ relativeRoot }}/settings/{{ item.shortname|default("default") }}/drush.yml'
path='{{ drupalRoot }}/sites/{{ item.shortname|default("default") }}/drush.yml'
state='link'
force=yes
with_items: '{{ drupal.domains }}'
when: item.install|default(true)
tags: 'deploy'
when: drush_version_main|default('8') == '9'
- include_tasks: deploy/finalize_{{ drupal.version|default("d7") }}.yml
when: drupal_install_drupal
tags: 'deploy'
......
options:
uri: '{{ item.protocol|default("https") }}://{{ item.domain }}'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment