2026-05-06 08:45:33 +00:00
|
|
|
---
|
2026-05-08 21:18:22 +00:00
|
|
|
- name: Apply selected baseline RHEL 9 hardening controls
|
2026-05-06 08:45:33 +00:00
|
|
|
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
|