Comments (11)
Good idea. I actually have a playbook that would do this - switch all APT sources from wheezy
to jessie
. Then an automatic apt dist-upgrade
could be performed as an optional step. I'll look for it and include in the tools/
directory.
from debops-playbooks.
Would this be the right way to handle this rather than running do-release-upgrade? -- do-release-upgrade deletes obsolete libraries and I'm guessing a bunch of other cleanup?
from debops-playbooks.
@Hackeron Sure. It's just that do-release-upgrade
is Ubuntu specific. :-) I can look into using it on Ubuntu systems, of course.
from debops-playbooks.
No do-release-upgrade for ubuntu users? :(
from debops-playbooks.
@Hackeron I'm not sure yet how exactly it works. I'll check on a spare Ubuntu VM first, unless you maybe know if it operates non-interactively and leaves the system in a workable state?
from debops-playbooks.
In my script I run:
apt-get install update-manager-core
do-release-upgrade -f DistUpgradeViewNonInteractive
To ensure it doesn't ask any questions :)
from debops-playbooks.
@Hackeron do-release-upgrade
steps are described in this AskUbuntu post. What I see is that do-release-upgrade
basically does the same thing (and more) as the dist-upgrade.yml
playbook. :-)
Are above commands all the steps you need to do the upgrade?
from debops-playbooks.
Yep, it seems to be quite good at removing anything obselete :) - yep, the above steps is what I've used for years and it never fails to update and it never asks any questions with "-f DistUpgradeViewNonInteractive" :)
from debops-playbooks.
@Hackeron In that cast most of dist-upgrade
could be discarded for Ubuntu... Does do-release-upgrade
have any output to capture and send to the admin?
from debops-playbooks.
What do you mean discarded? - it seems to do quite a lot of useful stuff. Yes, it gives the output from everything it does, like running apt internally, etc.
from debops-playbooks.
@Hackeron do-release-upgrade
handles APT sources, runs apt-get update
, upgrades packages, removes APT preferences for backports... All you would be interested in is probably the last task which sends an email with output to administrator. :)
from debops-playbooks.
Related Issues (20)
- SolrCloud playbook
- Proposed role: debops.rtfd HOT 2
- DNS-Privacy - GetDNS &Co
- fail2ban error message --reject-with icmp-admin-prohibited
- What is the problem with apex domain naming? HOT 2
- Qubes OS support HOT 5
- Add variable to disable Ansible security check HOT 3
- - include: custom.yml in site.yml HOT 1
- 'sshd__permit_root_login' not taking effect HOT 4
- [Question] What software was used to generate a dependency graph? HOT 2
- Comment macros in debops__tpl_macros.j2 HOT 1
- Stretch support status HOT 4
- new role for "limesurvey" HOT 3
- Incompatible Ansible version detected on Stretch HOT 3
- debops inserts wrong/faulty apt sources (Ansible ppa) on xenial HOT 2
- Pre/post hook tasks do not process included tasks HOT 1
- Merge all DebOps git repositories into one HOT 1
- Using DebOps ansible roles to manage users HOT 2
- README.md - Dependency graph not found HOT 1
- Record a video HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from debops-playbooks.