4
0
Fork 0

cis_v1.0.0 alignment updated

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2023-01-19 10:07:14 +00:00
parent 32805d6497
commit b8085e5dc0
No known key found for this signature in database
GPG key ID: 1DE02A772D0908F9
7 changed files with 17 additions and 15 deletions

View file

@ -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