diff --git a/tasks/finalize/artefact.yml b/tasks/finalize/artefact.yml index acb8c8584be67fe4246d470be6183493085e0111..476a8dbb296b066a12a135ce00a7cb5662431d47 100644 --- a/tasks/finalize/artefact.yml +++ b/tasks/finalize/artefact.yml @@ -1,16 +1,21 @@ --- # file: roles/drupal/tasks/finalize/artefact.yml -- name: Move directories - command: mv /path/to/foo /path/to/bar - with_items: - - src: '{{ webRoot }}/files' - dest: '{{ tempDeployRoot }}' - - src: '{{ webRoot }}/settings' - dest: '{{ tempDeployRoot }}' - - src: '{{ webRoot }}/web/sites/default' - dest: '{{ tempDeployRoot }}/web/sites' - - src: '{{ webRoot }}' - dest: '{{ webRoot }}-old' - - src: '{{ tempDeployRoot }}' - dest: '{{ webRoot }}' +- block: + + - name: Move directories + command: mv /path/to/foo /path/to/bar + with_items: + - src: '{{ webRoot }}/files' + dest: '{{ tempDeployRoot }}' + - src: '{{ webRoot }}/settings' + dest: '{{ tempDeployRoot }}' + - src: '{{ webRoot }}/web/sites/default' + dest: '{{ tempDeployRoot }}/web/sites' + - src: '{{ webRoot }}' + dest: '{{ webRoot }}-old' + - src: '{{ tempDeployRoot }}' + dest: '{{ webRoot }}' + + tags: + - deploy