2020-10-31 12:22:58 +01:00
|
|
|
---
|
|
|
|
- name: Switch to remote repositories
|
|
|
|
include_role:
|
|
|
|
name: fedora/repositories
|
|
|
|
vars:
|
|
|
|
source: "remote"
|
|
|
|
|
|
|
|
- name: Update all packages
|
|
|
|
dnf:
|
2021-01-25 12:19:56 +01:00
|
|
|
name: "*"
|
2020-10-31 12:22:58 +01:00
|
|
|
state: latest
|
|
|
|
|
|
|
|
- name: Install system-upgrade plugin
|
|
|
|
dnf:
|
|
|
|
name: dnf-plugin-system-upgrade
|
|
|
|
|
|
|
|
- name: Switch to local repositories
|
|
|
|
include_role:
|
|
|
|
name: fedora/repositories
|
|
|
|
vars:
|
|
|
|
source: "local"
|
|
|
|
|
|
|
|
- name: Start the release update
|
|
|
|
shell: dnf system-upgrade download -y --releasever={{ releasever }}
|