This collection provides roles for cis benchmark.
Requirements: python 3
, ansible-8.6.1
or higher version
ansible-galaxy collection install hasnimehdi91.cis_hardening
- name: System hardening
hosts: all
gather_facts: yes
any_errors_fatal: yes
become: yes
roles:
- name: hasnimehdi91.cis_hardening.linux
vars:
audit_only: false
levels:
- server_level_1
ansible-playbook playbook.yml