forked from ansible-lockdown/RHEL9-CIS
cis_v1.0.0 alignment updated
Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
parent
32805d6497
commit
b8085e5dc0
7 changed files with 17 additions and 15 deletions
|
|
@ -1,5 +1,8 @@
|
|||
---
|
||||
|
||||
- ansible.builtin.debug:
|
||||
msg: "{{ mount_names }}"
|
||||
|
||||
- name: "1.1.7.1 | AUDIT | Ensure separate partition exists for /home"
|
||||
block:
|
||||
- name: "1.1.7.1 | AUDIT | Ensure separate partition exists for /home | Absent"
|
||||
|
|
@ -8,9 +11,9 @@
|
|||
|
||||
- name: "1.1.7.1 | AUDIT | Ensure separate partition exists for /home | Present"
|
||||
ansible.builtin.import_tasks: warning_facts.yml
|
||||
vars:
|
||||
warn_control_id: '1.1.7.1'
|
||||
|
||||
vars:
|
||||
warn_control_id: '1.1.7.1'
|
||||
required_mount: '/home'
|
||||
when:
|
||||
- required_mount not in mount_names
|
||||
|
|
@ -38,7 +41,6 @@
|
|||
label: "{{ item.device }}"
|
||||
notify: Change_requires_reboot
|
||||
when:
|
||||
- home_mount_present is defined
|
||||
- item.mount == "/home"
|
||||
- rhel9cis_rule_1_1_7_1
|
||||
- rhel9cis_rule_1_1_7_2 or
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue