• Picks
  • Discover
  • Alternatives
  • About

© 2026 Willet

  • Newsletter
  • About
  • FAQ
  • Terms
  • Privacy & Cookies
Join the Discord (opens in a new tab)
DevSec Hardening Framework avatar

DevSec Hardening Framework

Ansible roles that harden Linux hosts, OpenSSH, nginx, and MySQL

  • Servers and infrastructure
  • Privacy and security
View on GitHub
Website

What it is

An Ansible collection with roles that apply security settings to Linux servers, OpenSSH, nginx, and MySQL or MariaDB. It covers kernel parameters via sysctl, SSH daemon configuration, web server and database defaults, and aims to pass the DevSec InSpec baselines. Sysadmins and DevOps teams add these roles to their playbooks to lock down fleets of Debian, Ubuntu, RHEL-family, and other distributions in a repeatable way.

Images

Facts

Stars
5,506 GitHub stars.
5,506

Forks
840
Commits
2,594
Contributors
154
Language
Jinja
License
Apache-2.0
Last commit
Oct 11, 2026
On GitHub since
May 2015
First release
September 2015
Platforms
Linux, CLI
Self-hostable
No
Tags
  • infrastructure-as-code
  • system-tweaks

Last synced from GitHub on Oct 20, 2026

The 10 best overlooked open-source projects, every Monday.

Share and more

Comments

No comments yet. Start the conversation.

Similar projects

  • Ansible avatar

    Ansible

    Agentless automation for configuring servers and deploying software over SSH

    71k
  • Caddy avatar

    Caddy

    Web server and reverse proxy that obtains and renews TLS certificates

    78.2k

What people are saying

Updated Oct 21, 2026
  • Hacker NewsAnsible battle tested hardening for Linux, SSH, Nginx, MySQLJan 7, 2026 · 95 points · 24 comments (opens Hacker News in a new tab)
  • Hacker NewsHardening FrameworkFeb 25, 2018 · 3 points · 0 comments (opens Hacker News in a new tab)
  • Hacker NewsMigrating our dev-sec Ansible roles to a collectionNov 12, 2020 · 2 points · 0 comments (opens Hacker News in a new tab)
  • Bluesky“Ansible battle tested hardening for Linux, SSH, Nginx, MySQL”Jan 12, 2026 · 1 like · 0 replies (opens Bluesky in a new tab)
  • Bluesky“And then I start trying out some collections like dev-sec.ssh_hardening from … and I can no longer reach my server! 😵‍💫”Oct 11, 2025 · 0 likes · 1 reply (opens Bluesky in a new tab)
  • Bluesky“Ansible battle tested hardening for Linux, SSH, Nginx, MySQL L: C: posted on 2026.01.07 at 12:38:53 (c=0, p=6)”Jan 12, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“Ansible battle tested hardening for Linux, SSH, Nginx, MySQL Discussion”Jan 7, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“Ansible battle tested hardening for Linux, SSH, Nginx, MySQL Comments Origin | Interest | Match”Jan 7, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)