25 lines
483 B
YAML
25 lines
483 B
YAML
|
---
|
||
|
- name: Switch to remote repositories
|
||
|
include_role:
|
||
|
name: fedora/repositories
|
||
|
vars:
|
||
|
source: "remote"
|
||
|
|
||
|
- name: Update all packages
|
||
|
dnf:
|
||
|
name: '*'
|
||
|
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 }}
|