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
Kirill Smelkov
slapos.package
Commits
15516dfd
Commit
15516dfd
authored
Feb 01, 2019
by
Thomas Gambier
🚴🏼
Committed by
Rafael Monnerat
Feb 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correctly upgrade all apt related packages
/cc
@jm
@rafael
/reviewed-on
nexedi/slapos.package!83
parent
9c5f096d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
playbook/roles/upgrade-apt/tasks/main.yml
playbook/roles/upgrade-apt/tasks/main.yml
+11
-0
playbook/roles/vifib-upgrade/meta/main.yml
playbook/roles/vifib-upgrade/meta/main.yml
+1
-1
No files found.
playbook/roles/upgrade-apt/tasks/main.yml
0 → 100644
View file @
15516dfd
-
name
:
Install dctrl-tools using apt
apt
:
name=dctrl-tools state=latest
-
name
:
get packages to upgrade
shell
:
grep-status -X -S apt -ns Package
register
:
packages_to_upgrade
check_mode
:
no
-
name
:
Upgrade all apt related packages
apt
:
name={{ packages_to_upgrade.stdout.split('\n') }} state=latest
playbook/roles/vifib-upgrade/meta/main.yml
View file @
15516dfd
...
...
@@ -12,7 +12,7 @@ dependencies:
-
{
role
:
package
,
package_name
:
exim4-base
,
package_state
:
absent
}
-
{
role
:
package
,
package_name
:
slapos-node
,
package_state
:
latest
}
-
{
role
:
package
,
package_name
:
re6st-node
,
package_state
:
latest
}
-
{
role
:
package
,
package_name
:
apt
,
package_state
:
latest
}
-
{
role
:
upgrade-apt
,
when
:
is_debian_or_ubuntu
}
-
{
role
:
re6stnet-ensure-running
}
-
{
role
:
etckeeper
}
-
{
role
:
vifib-team-ssh-key
}
...
...
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