Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
Nounous
Ansible
Commits
c4373487
Commit
c4373487
authored
4 years ago
by
Maxime Bombar
Browse files
Options
Downloads
Patches
Plain Diff
[upgrade.yml] Factorize tasks upgrading ownCloud
parent
fd65a64a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
upgrade.yml
+2
-4
2 additions, 4 deletions
upgrade.yml
with
2 additions
and
4 deletions
upgrade.yml
+
2
−
4
View file @
c4373487
...
...
@@ -20,14 +20,14 @@
until
:
apt_result is succeeded
-
hosts
:
owncloud-srv.adm.crans.org
become_user
:
www-data
become
:
yes
vars
:
# Owncloud command line interface
occ_bin
:
'
/var/www/owncloud/occ'
tasks
:
-
name
:
Upgrade owncloud
command
:
"
{{
occ_bin
}}
upgrade"
become
:
yes
become_user
:
www-data
register
:
upgrade_owncloud
failed_when
:
# occ return code is 3 when ownCloud is already latest version
...
...
@@ -43,8 +43,6 @@
-
name
:
Disable maintenance mode
command
:
"
{{
occ_bin
}}
maintenance:mode
--off"
become
:
yes
become_user
:
www-data
when
:
# Maintenance mode has not been enabled.
-
upgrade_owncloud.rc !=
3
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