From 644cce0cc0c75d9796b495cd68051e89c70fe05d Mon Sep 17 00:00:00 2001 From: David Rotermund Date: Thu, 25 Apr 2024 00:14:16 +0200 Subject: [PATCH] Update --- update_jobs/update_to_version.yaml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/update_jobs/update_to_version.yaml b/update_jobs/update_to_version.yaml index 662810b..ea21aec 100644 --- a/update_jobs/update_to_version.yaml +++ b/update_jobs/update_to_version.yaml @@ -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" - -