diff --git a/files/etc/dnf/plugins/kpatch.conf b/files/etc/dnf/plugins/kpatch.conf index 307fdaf..8b9f63c 100644 --- a/files/etc/dnf/plugins/kpatch.conf +++ b/files/etc/dnf/plugins/kpatch.conf @@ -1,2 +1,2 @@ [main] -autoupdate = True +autoupdate=True diff --git a/tasks/main.yml b/tasks/main.yml index 8a24f27..69c3473 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -1,5 +1,7 @@ --- -- name: base setup +- name: Base setup + tags: + - base block: - name: Include vars for {{ ansible_os_family }} ansible.builtin.include_vars: "{{ ansible_os_family }}_{{ ansible_distribution_major_version }}.yml" @@ -119,7 +121,7 @@ - ansible_os_family == "RedHat" - ansible_distribution_major_version >= '8' - - name: enable a timer for dnf-automatic for RHEL 8 linux family + - name: Enable a timer for dnf-automatic for RHEL 8/9 linux family ansible.builtin.systemd: name: dnf-automatic.timer state: started @@ -156,7 +158,7 @@ - ansible_distribution == "RedHat" - ansible_distribution_major_version >= '8' - - name: enable kernel auto update for RHEL 8/9 linux family + - name: Enable kernel auto update for RHEL 8/9 linux family ansible.builtin.systemd: name: kpatch.service state: started @@ -230,8 +232,6 @@ when: - ansible_os_family == "RedHat" - ansible_distribution_major_version < '9' - tags: - - base - name: Networking