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
Commits
e8f54c6b
Commit
e8f54c6b
authored
7 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-playbooks/general#72 Go back to includes for main.yml files
parent
aa2bf3f6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tasks/collect_config/main.yml
+3
-6
3 additions, 6 deletions
tasks/collect_config/main.yml
tasks/main.yml
+3
-5
3 additions, 5 deletions
tasks/main.yml
with
6 additions
and
11 deletions
tasks/collect_config/main.yml
+
3
−
6
View file @
e8f54c6b
...
...
@@ -20,8 +20,7 @@
-
block
:
-
include_tasks
:
'
prepare/{{
collectConfig.mode|default("none")
}}.yml'
tags
:
'
always'
-
include
:
'
prepare/{{
collectConfig.mode|default("none")
}}.yml'
-
name
:
"
Move
exported
config
to
working
copy"
command
:
'
mv
{{
pathExport
}}
{{
pathWorking
}}'
...
...
@@ -37,11 +36,9 @@
remote_src
:
yes
with_items
:
'
{{
list_config_files.stdout_lines
}}'
-
include_tasks
:
'
commit/{{
collectConfig.mode|default("none")
}}.yml'
tags
:
'
always'
-
include
:
'
commit/{{
collectConfig.mode|default("none")
}}.yml'
-
include_tasks
:
'
finish/{{
collectConfig.mode|default("none")
}}.yml'
tags
:
'
always'
-
include
:
'
finish/{{
collectConfig.mode|default("none")
}}.yml'
-
name
:
"
Delete
working
copy"
file
:
...
...
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
3
−
5
View file @
e8f54c6b
...
...
@@ -7,7 +7,7 @@
-
block
:
-
name
:
"
Install
Certs"
include
_tasks
:
'
../../letsencrypt/tasks/cert.yml'
include
:
'
../../letsencrypt/tasks/cert.yml'
with_subelements
:
-
'
{{
drupal_settings
}}'
-
domains
...
...
@@ -20,22 +20,20 @@
-
block
:
-
name
:
"
Install
Drupal"
include
_tasks
:
install.yml
include
:
install.yml
with_items
:
'
{{
drupal_settings
}}'
loop_control
:
loop_var
:
drupal
when
:
limit_site is not defined or drupal.id is not defined or limit_site == drupal.id
tags
:
'
deploy'
when
:
'
"drupal"
not
in
excluded_roles
and
drupal_install_drupal
and
(collect_config
is
not
defined
or
not
collect_config)'
-
block
:
-
name
:
"
Collect
Drupal
Configuration"
include
_tasks
:
collect_config/main.yml
include
:
collect_config/main.yml
with_items
:
'
{{
drupal_settings
}}'
loop_control
:
loop_var
:
drupal
when
:
limit_site is not defined or drupal.id is not defined or limit_site == drupal.id
tags
:
'
deploy'
when
:
'
"drupal"
not
in
excluded_roles
and
drupal_install_drupal
and
collect_config
is
defined
and
collect_config'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment