moved apt update order to assist with audit
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
1b98e1ed7b
commit
bba53315f2
|
@ -51,6 +51,11 @@
|
|||
ansible.builtin.debug:
|
||||
msg: "{{ prelim_mount_point_fs_and_options }}"
|
||||
|
||||
- name: "PRELIM | PATCH | Run apt update"
|
||||
tags: always
|
||||
ansible.builtin.package:
|
||||
update_cache: true
|
||||
|
||||
- name: Include audit specific variables
|
||||
when:
|
||||
- run_audit or audit_only
|
||||
|
@ -70,14 +75,6 @@
|
|||
ansible.builtin.import_tasks:
|
||||
file: pre_remediation_audit.yml
|
||||
|
||||
- name: "PRELIM | PATCH | Run apt update"
|
||||
when:
|
||||
- ubtu24cis_rule_1_2_1_1 or
|
||||
ubtu24cis_rule_1_2_2_1
|
||||
tags: always
|
||||
ansible.builtin.package:
|
||||
update_cache: true
|
||||
|
||||
- name: "PRELIM | AUDIT | Wireless adapter pre-requisites"
|
||||
when:
|
||||
- ubtu24cis_rule_3_1_2
|
||||
|
|
Loading…
Reference in New Issue