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
ee0160ee
Commit
ee0160ee
authored
7 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Replace deprecated "include" directive in Ansible 2.4
parent
f7b042a7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tasks/install.yml
+10
-10
10 additions, 10 deletions
tasks/install.yml
tasks/main.yml
+2
-2
2 additions, 2 deletions
tasks/main.yml
with
12 additions
and
12 deletions
tasks/install.yml
+
10
−
10
View file @
ee0160ee
...
...
@@ -24,7 +24,7 @@
tags
:
always
-
name
:
"
Configure
Apache"
include
:
apache.yml
include
_tasks
:
apache.yml
with_items
:
'
{{
drupal.domains
}}'
loop_control
:
loop_var
:
drupal_domain
...
...
@@ -58,17 +58,17 @@
when
:
drupal_install_drupal and drupal_available is defined and drupal_available.stdout != [drupalRoot, '/index.php']|join('')
tags
:
always
-
include
:
install/{{ installSource.mode|default("none") }}.yml
-
include
_tasks
:
install/{{ installSource.mode|default("none") }}.yml
when
:
drupal_first_installation
-
include
:
install/{{ drupal.version|default("d7") }}.yml
-
include
_tasks
:
install/{{ drupal.version|default("d7") }}.yml
when
:
drupal_first_installation
-
include
:
deploy/{{ installSource.mode|default("none") }}.yml
-
include
_tasks
:
deploy/{{ installSource.mode|default("none") }}.yml
when
:
drupal_install_drupal
tags
:
'
deploy'
-
include
:
deploy/{{ drupal.version|default("d7") }}.yml
-
include
_tasks
:
deploy/{{ drupal.version|default("d7") }}.yml
when
:
drupal_install_drupal
tags
:
'
deploy'
...
...
@@ -80,13 +80,13 @@
with_items
:
'
{{
drupal.links|default([])
}}'
tags
:
'
deploy'
-
include
:
scss.yml
-
include
_tasks
:
scss.yml
with_items
:
'
{{
drupal.scss_dir|default([])
}}'
loop_control
:
loop_var
:
scss_dir
tags
:
'
deploy'
-
include
:
users/{{ installSource.mode|default("none") }}.yml
-
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'
...
...
@@ -115,7 +115,7 @@
with_items
:
'
{{
drupal.domains
}}'
when
:
item.install|default(true)
-
include
:
files.yml
-
include
_tasks
:
files.yml
with_nested
:
-
'
{{
drupal.domains
}}'
-
[
'
files'
,
'
private'
]
...
...
@@ -152,7 +152,7 @@
with_items
:
'
{{
drupal.domains
}}'
when
:
item.install|default(true)
-
include
:
deploy/finalize_{{ drupal.version|default("d7") }}.yml
-
include
_tasks
:
deploy/finalize_{{ drupal.version|default("d7") }}.yml
when
:
drupal_install_drupal
tags
:
'
deploy'
...
...
@@ -201,7 +201,7 @@
tags
:
'
deploy'
-
name
:
"
Install
Drupal
Databases
and
Users"
include
:
mysql.yml
include
_tasks
:
mysql.yml
with_items
:
'
{{
drupal.domains
}}'
loop_control
:
loop_var
:
drupal_domain
...
...
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
2
−
2
View file @
ee0160ee
...
...
@@ -7,7 +7,7 @@
-
block
:
-
name
:
"
Install
Certs"
include
:
'
../../letsencrypt/tasks/cert.yml'
include
_tasks
:
'
../../letsencrypt/tasks/cert.yml'
with_subelements
:
-
'
{{
drupal_settings
}}'
-
domains
...
...
@@ -20,7 +20,7 @@
-
block
:
-
name
:
"
Install
Drupal"
include
:
install.yml
include
_tasks
:
install.yml
with_items
:
'
{{
drupal_settings
}}'
loop_control
:
loop_var
:
drupal
...
...
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