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

Bug fix

parent bf992a49
Branches
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@
- name: "Move existing File Directory"
shell: rm -rf {{ webRoot }}/files/{{ item.0.shortname|default("default") }}/{{ item.1 }} && mv {{ drupalRoot }}/sites/{{ item.0.shortname|default("default") }}/{{ item.1 }} {{ webRoot }}/files/{{ item.0.shortname|default("default") }}/{{ item.1 }}
when: directory.exists and directory.isdir
when: directory.results.0.stat.exists and directory.results.0.stat.isdir
- name: "Link Site Directory to File Directory"
file:
......
......@@ -126,6 +126,7 @@
- name: "Move existing File Directory"
shell: rm -rf {{ webRoot }}/files/{{ item.shortname|default("default") }}/files && mv {{ drupalRoot }}/sites/{{ item.shortname|default("default") }}/files {{ webRoot }}/files/{{ item.shortname|default("default") }}/files
with_items: '{{ drupal.domains }}'
when: directory.results.0.stat.exists and directory.results.0.stat.isdir
- name: "Link Site Directory to File Directory"
file:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment