diff --git a/roles/update_all_packages/tasks/main.yml b/roles/update_all_packages/tasks/main.yml index 66d25e8..55d5674 100644 --- a/roles/update_all_packages/tasks/main.yml +++ b/roles/update_all_packages/tasks/main.yml @@ -1,7 +1,7 @@ --- - name: Update package cache for Debian hosts apt: - update_cache: yes + update_cache: true when: - ansible_distribution|lower == 'debian' tags: @@ -10,7 +10,7 @@ - name: Update package cache for RHEL/CentOS/Fedora hosts dnf: - update_cache: yes + update_cache: true when: - (ansible_distribution|lower == 'centos' or ansible_distribution|lower == 'fedora' or