diff --git a/tasks/finalize/artefact.yml b/tasks/finalize/artefact.yml index 476a8dbb296b066a12a135ce00a7cb5662431d47..cbfbd9c352da4832cfb1118c6c8d79e8d116630d 100644 --- a/tasks/finalize/artefact.yml +++ b/tasks/finalize/artefact.yml @@ -4,14 +4,14 @@ - block: - name: Move directories - command: mv /path/to/foo /path/to/bar + command: mv {{ item.src }} {{ item.dest }} with_items: - src: '{{ webRoot }}/files' - dest: '{{ tempDeployRoot }}' + dest: '{{ tempDeployRoot }}/' - src: '{{ webRoot }}/settings' - dest: '{{ tempDeployRoot }}' + dest: '{{ tempDeployRoot }}/' - src: '{{ webRoot }}/web/sites/default' - dest: '{{ tempDeployRoot }}/web/sites' + dest: '{{ tempDeployRoot }}/web/sites/' - src: '{{ webRoot }}' dest: '{{ webRoot }}-old' - src: '{{ tempDeployRoot }}'