added apt cache update prelim
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
38831269c9
commit
7e3ae1d0a8
|
@ -646,7 +646,7 @@ ubtu24cis_purge_apt: false
|
||||||
|
|
||||||
## Ignore change_when for apt update task
|
## Ignore change_when for apt update task
|
||||||
# Modifies behavior of 'changed_when' for 'apt update' task in prelim that always changes
|
# 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
|
## Section 1 Control Variables
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
tags: always
|
tags: always
|
||||||
ansible.builtin.package:
|
ansible.builtin.package:
|
||||||
update_cache: true
|
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
|
- name: Include audit specific variables
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in New Issue