Perform a distribution upgrade on your Fedora / Debian system
This Ansible playbook safely upgrades your Fedora or Debian system to the next distribution release. Here are a few noteworthy points:
- Your root ZFS dataset will be snapshotted prior to the upgrade, if your system has ZFS on root.
- The debug console shell will be enabled during the upgrade, so you can break into the machine (Ctrl+Alt+F9 after switch root) if the upgrade fails and leaves you with an unbootable system. It will then be disabled after the upgrade is complete.
- The recipe will be idempotent across failures, even if you run it multiple times until completion.
Every time you want to upgrade your distribution, run the playbook
distupgrade against it.
Your task must set
become: yes for this to be effective.
You can run this against Qubes templates as well. Use the [https://github.com/Rudd-O/ansible-qubes](Ansible Qubes] toolkit to do so.