This commit is contained in:
David Rotermund 2024-04-25 00:14:16 +02:00
parent 96e2f4a54f
commit 644cce0cc0

View file

@ -4,6 +4,15 @@
become: true
tasks:
# 39 -> 40
- name: install libva-intel-media-driver
dnf:
name: "libva-intel-media-driver"
state: absent
update_cache: true
skip_broken: true
nobest: false
allowerasing: true
- name: block shutdown
blockinfile:
@ -23,8 +32,8 @@
- name: Make sure systemd-oomd service unit is stopped
systemd_service:
state: stopped
name: systemd-oomd
state: stopped
name: systemd-oomd
- name: remove other files
include_tasks: ../yaml_sub/myrepo_clean.yaml
@ -40,17 +49,15 @@
nobest: false
allowerasing: true
- name: upgrade version
- name: upgrade version
shell: "dnf -y system-upgrade download --refresh --releasever={{version}} --allowerasing --best --skip-broken; dnf system-upgrade reboot"
- name: Make sure systemd-oomd service unit is started
systemd_service:
state: started
name: systemd-oomd
state: started
name: systemd-oomd
- name: stop shutdown embargo
ansible.builtin.file:
path: /etc/polkit-1/rules.d/55-inhibit-shutdown.rules
state: "absent"