Enforcing kmod removal

This commit is contained in:
Tyler Hale 2025-02-26 06:23:01 -07:00
parent d8d3bcc558
commit fe86e4ea53
Signed by: Tyler
GPG key ID: C7CC4B910D88EF96

View file

@ -18,6 +18,19 @@
state: latest
disable_gpg_check: True
- name: Disable kmod zfs
community.general.dnf_config_manager:
name: zfs-kmod
state: disabled
register: zfs_kmod_results
- name: Uninstall kmod ZFS
package:
name: zfs
state: absent
register: zfs_install
when: zfs_kmod_results.changed
- name: Enable ZFS testing package
community.general.dnf_config_manager:
name: zfs-testing
@ -67,4 +80,4 @@
state: started
enabled: yes
when: zfs_cockpit