2022-01-07 09:06:18 +00:00
|
|
|
---
|
|
|
|
|
|
2022-03-30 16:18:11 +01:00
|
|
|
# Access, Authentication, and Authorization
|
|
|
|
|
|
2022-01-07 09:06:18 +00:00
|
|
|
- name: "SECTION | 5.1 | Configure time-based job schedulers"
|
2023-09-21 14:55:55 +01:00
|
|
|
ansible.builtin.import_tasks:
|
|
|
|
|
file: cis_5.1.x.yml
|
2022-01-07 09:06:18 +00:00
|
|
|
|
|
|
|
|
- name: "SECTION | 5.2 | Configure SSH Server"
|
2023-09-21 14:55:55 +01:00
|
|
|
ansible.builtin.import_tasks:
|
|
|
|
|
file: cis_5.2.x.yml
|
2022-02-02 11:25:03 +00:00
|
|
|
when:
|
|
|
|
|
- "'openssh-server' in ansible_facts.packages"
|
2022-01-07 09:06:18 +00:00
|
|
|
|
2022-03-30 16:18:11 +01:00
|
|
|
- name: "SECTION | 5.3 | Configure privilege escalation"
|
2023-09-21 14:55:55 +01:00
|
|
|
ansible.builtin.import_tasks:
|
|
|
|
|
file: cis_5.3.x.yml
|
2022-01-07 09:06:18 +00:00
|
|
|
|
2022-03-30 16:18:11 +01:00
|
|
|
- name: "SECTION | 5.4 | Configure authselect"
|
2023-09-21 14:55:55 +01:00
|
|
|
ansible.builtin.import_tasks:
|
|
|
|
|
file: cis_5.4.x.yml
|
2022-01-07 09:06:18 +00:00
|
|
|
|
2024-06-05 09:46:14 +01:00
|
|
|
- name: "SECTION | 5.5 | Configure PAM | not authselect"
|
2023-09-21 14:55:55 +01:00
|
|
|
ansible.builtin.import_tasks:
|
|
|
|
|
file: cis_5.5.x.yml
|
2024-06-05 09:46:14 +01:00
|
|
|
when: not rhel9cis_authselect_custom_profile_select
|
|
|
|
|
|
|
|
|
|
- name: "SECTION | 5.5 | Configure PAM | authselect"
|
|
|
|
|
ansible.builtin.import_tasks:
|
|
|
|
|
file: cis_5.5.x_authselect.yml
|
|
|
|
|
when: rhel9cis_authselect_custom_profile_select
|
2022-01-07 09:06:18 +00:00
|
|
|
|
2022-03-30 16:18:11 +01:00
|
|
|
- name: "SECTION | 5.6.1.x | Shadow Password Suite Parameters"
|
2023-09-21 14:55:55 +01:00
|
|
|
ansible.builtin.import_tasks:
|
|
|
|
|
file: cis_5.6.1.x.yml
|
2022-01-07 09:06:18 +00:00
|
|
|
|
2022-03-30 16:18:11 +01:00
|
|
|
- name: "SECTION | 5.6.x | Misc. User Account Settings"
|
2023-09-21 14:55:55 +01:00
|
|
|
ansible.builtin.import_tasks:
|
|
|
|
|
file: cis_5.6.x.yml
|