diff --git a/tasks/section_1/cis_1.1.2.x.yml b/tasks/section_1/cis_1.1.2.x.yml index ab737cc..aa67b5c 100644 --- a/tasks/section_1/cis_1.1.2.x.yml +++ b/tasks/section_1/cis_1.1.2.x.yml @@ -15,8 +15,8 @@ when: - required_mount not in mount_names - - name: "1.1.3.1 | AUDIT | Ensure separate partition exists for /var | Present" - debug: + - name: "1.1.2.1 | AUDIT | Ensure separate partition exists for /var | Present" + ansible.builtin.debug: msg: "Congratulations: {{ required_mount }} exists." register: var_mount_present when: diff --git a/tasks/section_1/cis_1.1.8.x.yml b/tasks/section_1/cis_1.1.8.x.yml index c9a6394..fdaef15 100644 --- a/tasks/section_1/cis_1.1.8.x.yml +++ b/tasks/section_1/cis_1.1.8.x.yml @@ -1,9 +1,9 @@ --- # Skips if mount is absent -- name: "1.1.8.1 | AUDIT | Ensure /dev/shm is a sepretae partition" +- name: "1.1.8.1 | AUDIT | Ensure /dev/shm is a separate partition" block: - - name: "1.1.8.1 | AUDIT | Ensure /dev/shm is a sepretae partition | Absent" + - name: "1.1.8.1 | AUDIT | Ensure /dev/shm is a separate partition | Absent" ansible.builtin.debug: msg: "Warning!! {{ required_mount }} doesn't exist. This is a manual task" register: home_mount_absent