added apt cache update prelim

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2025-04-01 11:16:30 +01:00
parent 38831269c9
commit 7e3ae1d0a8
No known key found for this signature in database
GPG Key ID: 997FF7FE93AEB5B9
2 changed files with 2 additions and 2 deletions

View File

@ -646,7 +646,7 @@ ubtu24cis_purge_apt: false
## Ignore change_when for apt update task
# Modifies behavior of 'changed_when' for 'apt update' task in prelim that always changes
ignore_apt_update_changed_when: false
ubtu24cis_ignore_apt_update_changed_when: false
##
## Section 1 Control Variables

View File

@ -55,7 +55,7 @@
tags: always
ansible.builtin.package:
update_cache: true
changed_when: not ignore_apt_update_changed_when
changed_when: not ubtu24cis_ignore_apt_update_changed_when
- name: Include audit specific variables
when: