forked from ansible-lockdown/RHEL9-CIS
lint fqcn & typo
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
dec098b5f3
commit
256f582b66
2 changed files with 4 additions and 4 deletions
|
|
@ -15,8 +15,8 @@
|
||||||
when:
|
when:
|
||||||
- required_mount not in mount_names
|
- required_mount not in mount_names
|
||||||
|
|
||||||
- name: "1.1.3.1 | AUDIT | Ensure separate partition exists for /var | Present"
|
- name: "1.1.2.1 | AUDIT | Ensure separate partition exists for /var | Present"
|
||||||
debug:
|
ansible.builtin.debug:
|
||||||
msg: "Congratulations: {{ required_mount }} exists."
|
msg: "Congratulations: {{ required_mount }} exists."
|
||||||
register: var_mount_present
|
register: var_mount_present
|
||||||
when:
|
when:
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
# Skips if mount is absent
|
# 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:
|
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:
|
ansible.builtin.debug:
|
||||||
msg: "Warning!! {{ required_mount }} doesn't exist. This is a manual task"
|
msg: "Warning!! {{ required_mount }} doesn't exist. This is a manual task"
|
||||||
register: home_mount_absent
|
register: home_mount_absent
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue