dotfiles/playbooks/roles/fedora/upgrade/tasks/main.yml
Matej Focko cc174d843e
Add pre-commit
Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-01-25 12:30:25 +01:00

24 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 }}