Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
drupal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
drupal
Compare revisions
ea33026196dce95e498b716053eb03c4d46d5140 to 5c4558a3198efe1d8228ac2307cb77ce9b92362a
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
ansible/roles/drupal
Select target project
No results found
5c4558a3198efe1d8228ac2307cb77ce9b92362a
Select Git revision
Branches
2331-combine1
2331-combine1-from-master
2331-combine2
2331-combine2-from-master
2331-expressions-using-if
2838-cronjobs-per-host
2838-crontabs-collector
2861-path-password-protection-without-general-pw
2898-service-status
main
10 results
Swap
Target
ansible/roles/drupal
Select target project
ansible/roles/drupal
max/drupal
ericzillmann/drupal
3 results
ea33026196dce95e498b716053eb03c4d46d5140
Select Git revision
Branches
2331-combine1
2331-combine1-from-master
2331-combine2
2331-combine2-from-master
2331-expressions-using-if
2838-cronjobs-per-host
2838-crontabs-collector
2861-path-password-protection-without-general-pw
2898-service-status
main
10 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (1)
Fix finalize tasks in artefact mode
· 5c4558a3
jurgenhaas
authored
4 years ago
5c4558a3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/finalize/artefact.yml
+25
-11
25 additions, 11 deletions
tasks/finalize/artefact.yml
with
25 additions
and
11 deletions
tasks/finalize/artefact.yml
View file @
5c4558a3
...
...
@@ -3,19 +3,33 @@
-
block
:
-
name
:
Set facts
set_fact
:
artefact_directories
:
-
src
:
'
{{
webRoot
}}/files'
dest
:
'
{{
tempDeployRoot
}}/files'
reset
:
true
-
src
:
'
{{
webRoot
}}/settings'
dest
:
'
{{
tempDeployRoot
}}/settings'
reset
:
true
-
src
:
'
{{
webRoot
}}/web/sites/default'
dest
:
'
{{
tempDeployRoot
}}/web/sites/default'
reset
:
true
-
src
:
'
{{
webRoot
}}'
dest
:
'
{{
tempDeployRoot
}}-old'
-
src
:
'
{{
tempDeployRoot
}}'
dest
:
'
{{
webRoot
}}'
-
name
:
Reset destination directories
file
:
path
:
'
{{
item.dest
}}'
state
:
absent
with_items
:
'
{{
artefact_directories
}}'
when
:
item.reset|default(false)
-
name
:
Move directories
command
:
mv {{ item.src }} {{ item.dest }}
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
}}'
with_items
:
'
{{
artefact_directories
}}'
tags
:
-
deploy
This diff is collapsed.
Click to expand it.