mirror of
https://github.com/ansible-lockdown/RHEL9-CIS.git
synced 2025-12-26 07:03:07 +00:00
fix typo's and copy past errors
Signed-off-by: Goetheyn Tony <tony.goetheyn@district09.gent>
This commit is contained in:
parent
f70821bf7e
commit
fd9fec96a1
4 changed files with 6 additions and 6 deletions
|
|
@ -21,12 +21,12 @@
|
||||||
register: discovered_home_mount
|
register: discovered_home_mount
|
||||||
|
|
||||||
- name: "1.1.2.3.1 | AUDIT | Ensure /home is a separate partition | Absent"
|
- name: "1.1.2.3.1 | AUDIT | Ensure /home is a separate partition | Absent"
|
||||||
when: discovered_dev_shm_mount is undefined
|
when: discovered_home_mount is undefined
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
msg: "Warning!! {{ required_mount }} is not mounted on a separate partition"
|
msg: "Warning!! {{ required_mount }} is not mounted on a separate partition"
|
||||||
|
|
||||||
- name: "1.1.2.3.1 | AUDIT | Ensure /home is a separate partition | Present"
|
- name: "1.1.2.3.1 | AUDIT | Ensure /home is a separate partition | Present"
|
||||||
when: discovered_dev_shm_mount is undefined
|
when: discovered_home_mount is undefined
|
||||||
ansible.builtin.import_tasks:
|
ansible.builtin.import_tasks:
|
||||||
file: warning_facts.yml
|
file: warning_facts.yml
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,12 +22,12 @@
|
||||||
register: discovered_var_mount
|
register: discovered_var_mount
|
||||||
|
|
||||||
- name: "1.1.2.4.1 | AUDIT | Ensure /var is a separate partition | Absent"
|
- name: "1.1.2.4.1 | AUDIT | Ensure /var is a separate partition | Absent"
|
||||||
when: discovered_dev_shm_mount is undefined
|
when: discovered_var_mount is undefined
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
msg: "Warning!! {{ required_mount }} is not mounted on a separate partition"
|
msg: "Warning!! {{ required_mount }} is not mounted on a separate partition"
|
||||||
|
|
||||||
- name: "1.1.2.4.1 | AUDIT | Ensure /var is a separate partition | Present"
|
- name: "1.1.2.4.1 | AUDIT | Ensure /var is a separate partition | Present"
|
||||||
when: discovered_dev_shm_mount is undefined
|
when: discovered_var_mount is undefined
|
||||||
ansible.builtin.import_tasks:
|
ansible.builtin.import_tasks:
|
||||||
file: warning_facts.yml
|
file: warning_facts.yml
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@
|
||||||
- level1-server
|
- level1-server
|
||||||
- level1-workstation
|
- level1-workstation
|
||||||
- patch
|
- patch
|
||||||
- permissionss
|
- permissions
|
||||||
- rule_7.1.4
|
- rule_7.1.4
|
||||||
- NIST800-53R5_AC-3
|
- NIST800-53R5_AC-3
|
||||||
- NIST800-53R5_MP-2
|
- NIST800-53R5_MP-2
|
||||||
|
|
|
||||||
|
|
@ -186,7 +186,7 @@
|
||||||
- name: "7.2.6 | WARNING | Ensure no duplicate user names exist | Print warning about users with duplicate User Names"
|
- name: "7.2.6 | WARNING | Ensure no duplicate user names exist | Print warning about users with duplicate User Names"
|
||||||
when: discovered_username_check.stdout | length > 0
|
when: discovered_username_check.stdout | length > 0
|
||||||
ansible.builtin.debug:
|
ansible.builtin.debug:
|
||||||
msg: "Warning!! The following user names are duplicates: {{ discovered_user_username_check.stdout_lines }}"
|
msg: "Warning!! The following user names are duplicates: {{ discovered_username_check.stdout_lines }}"
|
||||||
|
|
||||||
- name: "7.2.6 | WARNING | Ensure no duplicate user names exist | Set warning count"
|
- name: "7.2.6 | WARNING | Ensure no duplicate user names exist | Set warning count"
|
||||||
when: discovered_username_check.stdout | length > 0
|
when: discovered_username_check.stdout | length > 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue