diff --git a/ansible/host-package-update.yml b/ansible/host-package-update.yml index 94b014ba1..f9cea32f8 100644 --- a/ansible/host-package-update.yml +++ b/ansible/host-package-update.yml @@ -16,5 +16,5 @@ name: "{{ host_package_update_packages }}" security: "{{ host_package_update_security | bool if ansible_facts.os_family == 'RedHat' else omit }}" state: latest - update_cache: "{{ True if ansible_facts.os_family == 'Debian' else omit }}" + update_cache: True become: true diff --git a/releasenotes/notes/update-dnf-cache-63b0249549118a3e.yaml b/releasenotes/notes/update-dnf-cache-63b0249549118a3e.yaml new file mode 100644 index 000000000..0f16102f0 --- /dev/null +++ b/releasenotes/notes/update-dnf-cache-63b0249549118a3e.yaml @@ -0,0 +1,5 @@ +--- +features: + - | + Adds support for updating cache during host package update on all + supported systems.