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
Łukasz Nowak
slapos.package
Commits
33850094
Commit
33850094
authored
Oct 10, 2023
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook/ors: fix for ORS upgrading from older playbooks
parent
80c95229
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletion
+15
-1
playbook/roles/ors/tasks/main.yml
playbook/roles/ors/tasks/main.yml
+14
-0
playbook/sha256sum
playbook/sha256sum
+1
-1
No files found.
playbook/roles/ors/tasks/main.yml
View file @
33850094
...
...
@@ -3,6 +3,20 @@
-
name
:
Create /opt/upgrader where some logs will be stored
file
:
path=/opt/upgrader state=directory mode=0755
# Needed for ORS upgrading from older playbooks
-
name
:
Check if anacron is installed
shell
:
'
which
anacron'
register
:
anacron_present
ignore_errors
:
yes
-
name
:
Run ORS playbook in case anacron is not installed
shell
:
ansible-playbook ors.yml -i hosts 2>> /opt/upgrader/latest_ors.log >> /opt/upgrader/latest_ors.log
ignore_errors
:
yes
when
:
lteenb_cap.rc !=
0
args
:
chdir
:
/opt/upgrader/playbook-tmp/
# SSD image backports
-
stat
:
path=/opt/upgrader/last-backport
...
...
playbook/sha256sum
View file @
33850094
5dde596c9a6132749fd9232ee1a404f214207116c5311120db7f636b52d9df1b
-
a9064532e0ffbb2cae77dfca4554b4d83b8267a36781297fc1b3d8972829adef
-
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