Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Tyagov
slapos.package
Commits
80eb4e95
Commit
80eb4e95
authored
Oct 05, 2016
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Use full path for run the command.
parent
d6fee63d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
playbook/roles/upgrader/files/download-upgrader-playbook
playbook/roles/upgrader/files/download-upgrader-playbook
+1
-1
playbook/roles/upgrader/tasks/main.yml
playbook/roles/upgrader/tasks/main.yml
+1
-1
No files found.
playbook/roles/upgrader/files/download-upgrader-playbook
View file @
80eb4e95
...
@@ -10,7 +10,7 @@ TFILE="archive.tar.gz"
...
@@ -10,7 +10,7 @@ TFILE="archive.tar.gz"
mkdir
-p
$DFILE
mkdir
-p
$DFILE
cd
$DFILE
cd
$DFILE
slapcache-download
--destination
=
$TFILE
/usr/local/bin/
slapcache-download
--destination
=
$TFILE
tar
-xzvf
$TFILE
tar
-xzvf
$TFILE
md5sum
$TFILE
>
"/opt/upgrader/next-upgrader-md5sum"
md5sum
$TFILE
>
"/opt/upgrader/next-upgrader-md5sum"
playbook/roles/upgrader/tasks/main.yml
View file @
80eb4e95
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
-
shell
:
mkdir -p /opt/upgrader/tmp
-
shell
:
mkdir -p /opt/upgrader/tmp
-
name
:
Periodically download the latest playbook
-
name
:
Periodically download the latest playbook
shell
:
slapcache-download --destination=/opt/upgrader/archive.tar.gz
shell
:
/usr/local/bin/
slapcache-download --destination=/opt/upgrader/archive.tar.gz
-
name
:
Uncompress
-
name
:
Uncompress
shell
:
tar -xzvf /opt/upgrader/archive.tar.gz
shell
:
tar -xzvf /opt/upgrader/archive.tar.gz
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment