21 lines
407 B
YAML
21 lines
407 B
YAML
|
|
---
|
||
|
|
- 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
|