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
2017b2e7
Commit
2017b2e7
authored
8 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Start adding tags to be able to deploy Drupal updates
parent
657a3c2f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tasks/install.d8.yml
+1
-1
1 addition, 1 deletion
tasks/install.d8.yml
tasks/install.gitscript.yml
+4
-0
4 additions, 0 deletions
tasks/install.gitscript.yml
tasks/install.yml
+7
-0
7 additions, 0 deletions
tasks/install.yml
with
12 additions
and
1 deletion
tasks/install.d8.yml
+
1
−
1
View file @
2017b2e7
...
...
@@ -26,4 +26,4 @@
-
'
/modules/contrib'
-
'
/themes/custom'
-
'
/themes/contrib'
when
:
drupal.version|default('d7') == 'd8
'
tags
:
'
deploy
'
This diff is collapsed.
Click to expand it.
tasks/install.gitscript.yml
+
4
−
0
View file @
2017b2e7
...
...
@@ -8,6 +8,7 @@
owner
:
'
root'
group
:
'
root'
mode
:
'
775'
tags
:
'
deploy'
-
name
:
"
Clone
Git
Repository"
git
:
...
...
@@ -18,6 +19,7 @@
force
:
yes
version
:
'
{{
drupal.src.git.branch|default(omit)
}}'
become
:
false
tags
:
'
deploy'
-
name
:
"
Second
Clone
Git
Repository"
git
:
...
...
@@ -26,7 +28,9 @@
force
:
yes
version
:
'
{{
drupal.src.git.branch|default(omit)
}}'
when
:
drupal.src.git.target2 is defined
tags
:
'
deploy'
-
name
:
"
Run
Script"
shell
:
'
{{
webRoot
}}{{
drupal.src.git.target
}}{{
drupal.src.script
}}'
when
:
drupal.src.script is defined and drupal.src.script
tags
:
'
deploy'
This diff is collapsed.
Click to expand it.
tasks/install.yml
+
7
−
0
View file @
2017b2e7
...
...
@@ -38,12 +38,18 @@
group='{{ apacheUser }}'
mode='g+w'
recurse=yes
tags
:
'
deploy'
-
name
:
"
Check
Installation
Requirement"
shell
:
ls {{ drupalRoot }}/index.php
register
:
drupal_available
failed_when
:
false
-
set_fact
:
drupal_available
:
stdout
:
'
'
tags
:
'
deploy'
-
include
:
install.{{ installSource.mode|default("none") }}.yml
when
:
drupal_install_drupal and drupal_available is defined and drupal_available.stdout != '{{ drupalRoot }}/index.php'
...
...
@@ -56,6 +62,7 @@
dest
:
'
{{
drupalRoot
}}{{
item.dest
}}'
state
:
'
link'
with_items
:
'
{{
drupal.links|default([])
}}'
tags
:
'
deploy'
-
include
:
users.{{ installSource.mode|default("none") }}.yml
when
:
drupal_install_drupal and drupal.src.name is defined
...
...
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