diff --git a/tasks/prelim.yml b/tasks/prelim.yml index 74ee0c7..c5eac21 100644 --- a/tasks/prelim.yml +++ b/tasks/prelim.yml @@ -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