Ansible-lint compliance for roles/update_all_packages, FIX 2
Some checks failed
continuous-integration/drone/push Build is failing
Ansible Code Pipeline / Ansible-Development-Pipeline (ansible-dev-centos9) (push) Failing after 18s
Ansible Code Pipeline / Ansible-Development-Pipeline (ansible-dev-debian11) (push) Failing after 14s
Ansible Code Pipeline / Ansible-Development-Pipeline (ansible-dev-debian12) (push) Failing after 13s
Ansible Code Pipeline / Ansible-Development-Pipeline (ansible-dev-fedora39) (push) Failing after 14s

This commit is contained in:
Chris Hammer 2023-12-20 03:02:18 -05:00
parent d96e6bf9e1
commit 189bea6c7d

View File

@ -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