dev-sec

    dev-sec/ansible-collection-hardening

    This Ansible collection provides battle tested hardening for Linux, SSH, nginx, MySQL

    devops
    ansible
    ansible-collection
    collection
    devsec
    hacktoberfest
    Jinja
    Apache-2.0
    5.5K stars
    839 forks
    5.5K GitHub watchers
    Updated Nov 4, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    1 release in the last 90 days, the latest 30 days ago, with 154 contributors on GitHub.

    Use Cases & Benefits

    • Provides battle-tested Ansible roles for hardening Linux, SSH, nginx, and MySQL configurations.
    • Ensures compliance with DevSec Inspec Baselines for consistent and secure system hardening.
    • Use for automating security hardening on supported Linux distributions in production environments.
    • Use for securing MySQL and MariaDB databases against common vulnerabilities and misconfigurations.
    • Use for enforcing hardened SSH and nginx configurations to protect server access and web services.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    The roles are now part of the hardening-collection. We have kept the old releases of the os-hardening role in this repository, so you can find the them by exploring older tags. The last release of the standalone role was 6.2.0.

    Excerpt from the dev-sec/ansible-collection-hardening README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    839+8

    Open issues

    94+9

    Compared with peers in DevOps

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    dev-sec/ansible-collection-hardening compared with DevOps repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    milind-soni/OpenMausBot13.5K+6.0K45today
    DuarteSantos8/openGym19.7K+2.4K602 days ago
    AstrBotDevs/AstrBot46.2K+1.4K655 days ago
    elie222/rakazo7.2K+9225926 days ago
    superplanehq/superplane8.8K+435607 days ago
    dev-sec/ansible-collection-hardening5.5K—5830 days ago
    Category median13.5K+1.4K60—

    Discover Repositories

    Search across tracked repositories by name or description