Ansible Hardening logo

Ansible Hardening

Ansible role for automated security hardening of Linux hosts

Repository activity
  • Stars688
  • Forks146
  • Open Issues0
License

Apache-2.0

Languages
  • Jinja
  • Python
  • Shell
Get it:Website
Ansible Hardening screenshot

About Ansible Hardening

Ansible Hardening is an Ansible role that applies security hardening to Linux hosts. It rolls a defined hardening baseline out across every system you manage with Ansible, so the same security settings land consistently on each one.

Because it is plain Ansible, hardening runs as part of your normal provisioning and configuration workflow rather than as a separate manual step. It was originally built for OpenStack-Ansible deployments but applies to general Linux fleets.

It runs entirely within your own Ansible control environment against the hosts you target, with no external service involved. The role is open under the Apache 2.0 license, so the exact changes it makes can be reviewed and tailored before rollout.

Key features

  • Applies a hardening baseline as an Ansible role
  • Consistent security settings across a Linux fleet
  • Fits into normal Ansible provisioning workflows

Details

On GitHub since
2017
Platforms
Linux
Deployment
self-hostable
Type
Ansible role
License
Apache-2.0
Origin
OpenStack-Ansible