awesome-repositories.com
المدونة
MCP
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعخادم MCPحولكيفية ترتيب النتائجالصحافة
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
dev-sec avatar

dev-sec/ansible-collection-hardening

0
View on GitHub↗
5,225 نجوم·815 تفرعات·Jinja·apache-2.0·11 مشاهداتdev-sec.io↗

Ansible Collection Hardening

This is an Ansible collection that automates security hardening for Linux operating systems, databases, web servers, and SSH services. It provides a declarative, modular architecture that enforces idempotent security configurations, ensuring that each task only applies changes when the current system state deviates from the desired security baseline.

The collection organizes security configurations into reusable Ansible roles, each targeting a specific system component. It includes roles for hardening OpenSSH with key-only authentication and disabled root login, securing MySQL and MariaDB installations with strong authentication and local binding, and configuring Nginx and Apache web servers by disabling server tokens and restricting cipher suites. The roles are designed to work across multiple Linux families, using distribution-specific conditionals and package managers.

The collection maps hardening tasks to established security standards such as CIS benchmarks, grouping controls into role-specific conditional logic. It generates configuration files from Jinja2 templates with variables, enabling customization across different Linux distributions without duplicating code. The final hardened state of a system is defined in YAML inventory variables, allowing Ansible to converge any machine toward that state through continuous application.

Features

  • Ansible Collections - An Ansible collection that automates security baselines for Linux systems, network services, and databases to reduce attack surfaces and enforce compliance.
  • Linux Security Hardening - Apply security hardening configurations to operating systems to meet compliance baselines, including user account restrictions and permission settings.
  • Automated Hardening Playbooks - Playbooks that configure kernel parameters, user accounts, file permissions, and audit settings for Linux distributions.
  • Database Server Hardening - Enforce strong database authentication, remove default test databases, bind services to local sockets, and apply compliance baselines to secure database servers.
  • MySQL & MariaDB Hardening - Ansible tasks that remove anonymous accounts, set root passwords, bind to localhost, and delete default test databases.
  • SSH Service Hardening - Disable remote root login, enforce key-based authentication, restrict encryption ciphers, and apply security baselines to secure shell daemon configuration.
  • Web Server Hardening - Hardening web servers like Nginx by disabling server tokens, restricting cipher suites, and limiting attack surface.
  • SSH Hardening Playbooks - Ansible roles that enforce key-based authentication, disable root login, and restrict cipher suites on SSH servers.
  • SSH Security Configurations - Configuring OpenSSH with key-only authentication, disabled root login, and strong ciphers to secure remote access.
  • System State Idempotency - Ensures each Ansible task only applies changes when the current system state deviates from the desired security baseline, preventing repeated modifications.
  • Infrastructure State Enforcers - Defines the final hardened state of a system in YAML inventory variables, allowing Ansible to converge any machine toward that state through continuous application.
  • Cross-Distribution Role Support - Tests and validates role execution across multiple Linux families (Debian, Red Hat, etc.) using distribution-specific conditionals and package managers.
  • Role-Based Configuration Modularization - Organises security configurations into reusable Ansible roles, each targeting a specific system component like SSH, nginx, or MySQL.
  • Compliance Baseline Mappings - Aligns hardening tasks with established security standards such as CIS benchmarks by grouping controls into role-specific conditional logic.
  • Nginx Security Hardening - Automated configuration to disable server tokens, limit SSL protocols, and set secure headers for Nginx deployments.

سجل النجوم

مخطط تاريخ النجوم لـ dev-sec/ansible-collection-hardeningمخطط تاريخ النجوم لـ dev-sec/ansible-collection-hardening

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ Ansible Collection Hardening

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Ansible Collection Hardening.
  • dev-sec/ansible-os-hardeningالصورة الرمزية لـ dev-sec

    dev-sec/ansible-os-hardening

    5,391عرض على GitHub↗

    This project is a collection of automated hardening frameworks and Ansible roles designed to secure Linux systems, databases, SSH services, and web servers. It functions as a configuration framework that reduces the attack surface of Linux distributions through the automated enforcement of security policies. The collection provides specific security baselines for a variety of services, including MySQL databases, OpenSSH daemons, and web servers such as Nginx and Apache. These roles are designed to remove insecure defaults, enforce secure authentication methods, and align system configurations

    Jinja
    عرض على GitHub↗5,391
  • geerlingguy/ansible-for-devopsالصورة الرمزية لـ geerlingguy

    geerlingguy/ansible-for-devops

    9,792عرض على GitHub↗

    This project is an infrastructure as code framework and library of reusable playbooks designed for server configuration and DevOps workflow automation. It provides a Linux server configuration suite and specialized tools for provisioning multi-node Kubernetes clusters to support containerized applications. The library enables the automation of infrastructure tasks and the orchestration of multi-server workflows. It includes specific logic for deploying containerized workloads and managing application environments across different hosting platforms. The codebase covers broad capability areas

    Pythonamazonansibleaws
    عرض على GitHub↗9,792
  • rocky-linux/rockyالصورة الرمزية لـ rocky-linux

    rocky-linux/rocky

    9,497عرض على GitHub↗

    Rocky is an open-source enterprise operating system designed for server and cloud infrastructure. It is a community-maintained Linux server distribution that provides a platform focused on stability and security. The project is fundamentally a Red Hat Enterprise Linux compatible operating system, maintaining bug-for-bug binary compatibility to ensure identical software behavior. This allows it to serve as an enterprise-grade platform without proprietary licensing. The distribution covers a broad range of system administration capabilities, including package management via modular repository

    enterprise-linuxrocky
    عرض على GitHub↗9,497
  • bregman-arie/devops-exercisesالصورة الرمزية لـ bregman-arie

    bregman-arie/devops-exercises

    82,879عرض على GitHub↗

    This project is a comprehensive educational curriculum designed to build proficiency across modern infrastructure, cloud-native technologies, and systems administration. It functions as a reference library and interview preparation resource, offering a structured collection of conceptual questions, practical coding challenges, and hands-on scenarios that cover the full spectrum of software delivery and operational workflows. The repository distinguishes itself through a modular, domain-specific structure that links instructional problem statements with verified implementation examples. By emp

    Pythonansibleawsazure
    عرض على GitHub↗82,879
عرض جميع البدائل الـ 30 لـ Ansible Collection Hardening→

الأسئلة الشائعة

ما هي وظيفة dev-sec/ansible-collection-hardening؟

This is an Ansible collection that automates security hardening for Linux operating systems, databases, web servers, and SSH services. It provides a declarative, modular architecture that enforces idempotent security configurations, ensuring that each task only applies changes when the current system state deviates from the desired security baseline.

ما هي الميزات الرئيسية لـ dev-sec/ansible-collection-hardening؟

الميزات الرئيسية لـ dev-sec/ansible-collection-hardening هي: Ansible Collections, Linux Security Hardening, Automated Hardening Playbooks, Database Server Hardening, MySQL & MariaDB Hardening, SSH Service Hardening, Web Server Hardening, SSH Hardening Playbooks.

ما هي البدائل مفتوحة المصدر لـ dev-sec/ansible-collection-hardening؟

تشمل البدائل مفتوحة المصدر لـ dev-sec/ansible-collection-hardening: dev-sec/ansible-os-hardening — This project is a collection of automated hardening frameworks and Ansible roles designed to secure Linux systems,… geerlingguy/ansible-for-devops — This project is an infrastructure as code framework and library of reusable playbooks designed for server… rocky-linux/rocky — Rocky is an open-source enterprise operating system designed for server and cloud infrastructure. It is a… bregman-arie/devops-exercises — This project is a comprehensive educational curriculum designed to build proficiency across modern infrastructure,… ansible/ansible-examples — This repository serves as a library of reference patterns and scripts for infrastructure automation and configuration… imthenachoman/how-to-secure-a-linux-server — This project is a Linux server security guide and system administration manual designed to harden the operating system…