Add RHEL 9 CIS-inspired hardening playbook
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
---
|
||||
- name: Apply CIS-inspired RHEL 9 hardening controls
|
||||
hosts: linux
|
||||
become: true
|
||||
gather_facts: true
|
||||
|
||||
roles:
|
||||
- role: cis-rhel9-hardening
|
||||
tags:
|
||||
- cis
|
||||
- hardening
|
||||
|
||||
post_tasks:
|
||||
- name: Show validation summary
|
||||
ansible.builtin.debug:
|
||||
var: cis_validation_summary
|
||||
when: cis_validation_summary is defined
|
||||
tags:
|
||||
- always
|
||||
- postcheck
|
||||
Reference in New Issue
Block a user