Update
This commit is contained in:
parent
96e2f4a54f
commit
644cce0cc0
1 changed files with 14 additions and 7 deletions
|
@ -4,6 +4,15 @@
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
tasks:
|
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
|
- name: block shutdown
|
||||||
blockinfile:
|
blockinfile:
|
||||||
|
@ -23,8 +32,8 @@
|
||||||
|
|
||||||
- name: Make sure systemd-oomd service unit is stopped
|
- name: Make sure systemd-oomd service unit is stopped
|
||||||
systemd_service:
|
systemd_service:
|
||||||
state: stopped
|
state: stopped
|
||||||
name: systemd-oomd
|
name: systemd-oomd
|
||||||
|
|
||||||
- name: remove other files
|
- name: remove other files
|
||||||
include_tasks: ../yaml_sub/myrepo_clean.yaml
|
include_tasks: ../yaml_sub/myrepo_clean.yaml
|
||||||
|
@ -40,17 +49,15 @@
|
||||||
nobest: false
|
nobest: false
|
||||||
allowerasing: true
|
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"
|
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
|
- name: Make sure systemd-oomd service unit is started
|
||||||
systemd_service:
|
systemd_service:
|
||||||
state: started
|
state: started
|
||||||
name: systemd-oomd
|
name: systemd-oomd
|
||||||
|
|
||||||
- name: stop shutdown embargo
|
- name: stop shutdown embargo
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: /etc/polkit-1/rules.d/55-inhibit-shutdown.rules
|
path: /etc/polkit-1/rules.d/55-inhibit-shutdown.rules
|
||||||
state: "absent"
|
state: "absent"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue