21 lines
412 B
YAML
21 lines
412 B
YAML
---
|
|
- name: Apply selected baseline 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
|