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
b45de002
Commit
b45de002
authored
5 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-playbooks/general#85 Name import and include tasks
parent
d19936d5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/install.yml
+22
-11
22 additions, 11 deletions
tasks/install.yml
with
22 additions
and
11 deletions
tasks/install.yml
+
22
−
11
View file @
b45de002
...
...
@@ -54,26 +54,32 @@
failed_when
:
no
-
block
:
-
set_fact
:
-
name
:
Set default facts
set_fact
:
drupal_first_installation
:
no
-
set_fact
:
-
name
:
Set facts for first installation
set_fact
:
drupal_first_installation
:
yes
when
:
drupal_install_drupal and drupal_available is defined and drupal_available.stdout != [drupalRoot, '/index.php']|join('')
tags
:
-
always
-
include_tasks
:
install/{{ installSource.mode|default("none") }}.yml
-
name
:
Include install mode
include_tasks
:
install/{{ installSource.mode|default("none") }}.yml
when
:
drupal_first_installation
-
include_tasks
:
install/{{ drupal.version|default("d7") }}.yml
-
name
:
Include install version
include_tasks
:
install/{{ drupal.version|default("d7") }}.yml
when
:
drupal_first_installation
-
include_tasks
:
deploy/{{ installSource.mode|default("none") }}.yml
-
name
:
Include deploy mode
include_tasks
:
deploy/{{ installSource.mode|default("none") }}.yml
when
:
drupal_install_drupal
tags
:
-
deploy
-
include_tasks
:
deploy/{{ drupal.version|default("d7") }}.yml
-
name
:
Include deploy version
include_tasks
:
deploy/{{ drupal.version|default("d7") }}.yml
when
:
drupal_install_drupal
tags
:
-
deploy
...
...
@@ -95,14 +101,16 @@
tags
:
-
ApacheConfig
-
include_tasks
:
scss.yml
-
name
:
Include scss
include_tasks
:
scss.yml
with_items
:
'
{{
drupal.scss_dir|default([])
}}'
loop_control
:
loop_var
:
scss_dir
tags
:
-
deploy
-
include_tasks
:
users/{{ installSource.mode|default("none") }}.yml
-
name
:
Include users mode
include_tasks
:
users/{{ installSource.mode|default("none") }}.yml
when
:
drupal_install_drupal and drupal.src is defined and drupal.src.name is defined
tags
:
-
SetPermissions
...
...
@@ -142,11 +150,13 @@
mode
:
0775
when
:
drupal.install_extra_dirs|default(true)
-
include_tasks
:
mountpoints.yml
-
name
:
Include mountpoints
include_tasks
:
mountpoints.yml
with_items
:
'
{{
drupal.mountpoints|default([])
}}'
when
:
drupal.install_extra_dirs|default(true)
-
include_tasks
:
files.yml
-
name
:
Include files
include_tasks
:
files.yml
with_nested
:
-
'
{{
drupal.domains
}}'
-
[
'
files'
,
'
private'
]
...
...
@@ -209,7 +219,8 @@
-
deploy
when
:
drush_version_main|default('8') == '9'
-
include_tasks
:
deploy/finalize_{{ drupal.version|default("d7") }}.yml
-
name
:
Include deploy finalize version
include_tasks
:
deploy/finalize_{{ drupal.version|default("d7") }}.yml
when
:
drupal_install_drupal
tags
:
-
deploy
...
...
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