Skip to content

Select language

Current language: English

Ansible

Source: https://github.com/ansible-community/awesome-ansible at 3db49feb4df0
License: CC0-1.0
Read the English original

This is a collaborative community curated list of awesome Ansible resources, tools, Roles, tutorials and other related stuff.

Ansible is an open source toolkit, written in Python, it is used for configuration management, application deployment, continuous delivery, IT infrastructure automation and automation in general.

:warning: Before editing the list to add your project, take a look at the Ansible ecosystem project development resources. Let’s make sure our users, contributors, and maintainers have the best possible experience!

Official resources by and for Ansible.

Join the Ansible forum:

  • Get Help - Forum for asking and answering questions. Please add appropriate tags if you start new discussions.
  • Bullhorn newsletter - Used to announce releases and important changes.
  • Social Spaces - Gather and interact with fellow enthusiasts.
  • News & Announcements - Track project-wide announcements including social events.

For more information about communication, see the Ansible communication guide.

Tutorials and courses to learn Ansible.

Books about Ansible.

Video tutorials and Ansible training.

Tools for and using Ansible.

  • Automation Controller - Formerly Ansible Tower, this Red Hat product helps you scale IT automation, manage complex deployments and speed productivity. Extend the power of Ansible to your entire team.
  • AWX - Web-based user interface, REST API, and task engine built on top of Ansible. It is the upstream project for Automation Controller.
  • Ansible Lint - Checks Playbooks for best practices and behavior that could potentially be improved.
  • ansible-static-lint - Fast, offline static linter for playbooks written in Go, implementing a subset of ansible-lint rules without requiring Python or an Ansible runtime.
  • Ansible Doctor - Simple annotation like documentation generator for Ansible roles based on Jinja2 templates.
  • Ansible DocSmith - Generates Ansible role documentation from argument_specs.yml for READMEs and default variable files.
  • Ansible cmdb - Takes the output of Ansible’s fact gathering and converts it into a static HTML page.
  • ARA - Records Ansible playbooks and makes them easier to understand and troubleshoot with a reporting API, UI and CLI.
  • Ansible Inventory Grapher - Displays inventory inheritance hierarchies and the level at which variables are defined in an inventory.
  • Mitogen for Ansible - Speed up Ansible substantially with Mitogen.
  • Molecule - Framework for developing and testing Ansible roles.
  • Packer Ansible Provisioner - This Provisioner can be used to automate VM Image creation via Packer with Ansible.
  • Excel Ansible Inventory - Turn any Excel Spreadsheet into an Ansible Inventory.
  • terraform.py - Ansible dynamic inventory script for parsing Terraform state files.
  • Ansible101 - An interactive, zero-setup sandbox for architecting and debugging playbooks with real-time visual execution flow.
  • ansible-navigator - A text-based user interface (TUI) for Ansible.
  • squest - Self-service portal for Automation Controller job templates.
  • ansible-bender - Tool which bends containers using Ansible playbooks and turns them into container images.
  • ansible-runner - A tool and Python library that helps when interfacing with Ansible directly or as part of another system whether that be through a container image interface, as a standalone tool, or as a Python module that can be imported.
  • ansible-builder - Using Ansible content that depends on non-default dependencies can be tricky. Packages must be installed on each node, play nicely with other software installed on the host system, and be kept in sync.
  • kics - SAST Tool that scans your Ansible infrastructure as code playbooks for security vulnerabilities, compliance issues and misconfigurations.
  • ansible-security-scanner - Static analyzer for playbooks, roles and collections covering hardcoded credentials, RCE, and supply-chain risks. Outputs SARIF, CycloneDX SBOM and GitLab SAST.
  • php-ansible Library - OOP-Wrapper for Ansible, making Ansible available in PHP.
  • TD4A - Design aid for building and testing jinja2 templates, combines data in yaml format with a jinja2 template and render the output.
  • Ansible Playbook Grapher - Command line tool to create a graph representing your Ansible playbook plays, tasks and roles.
  • ansible-doc-extractor - A tool that extracts documentation from Ansible modules in the HTML form.
  • Ansible Semaphore - Modern UI for managing and running Ansible playbooks.
  • Steampunk Spotter - Provides an Assisted Automation Writing tool that analyzes and offers recommendations for your Ansible Playbooks.
  • ansible-roster - Ansible Roster inventory plugin to generate inventory from a host oriented yaml file. Supports ranges, regex hostnames, file inclusions, and variable merging.
  • Monkeyble - A callback plugin that allow to execute end-to-end tests on playbooks with a Pythonic testing and CI/CD approach to detect regressions.
  • aar-doc - Automated Ansible Role Documentation - Generate documentation automatically from an Ansible role’s metadata.
  • antsichaut - Automate the filling of a changelog.yaml used by antsibull-changelog.
  • ansibledb - Flask API Web server that uses MongoDB as database to store Ansible reports and facts; this tool can be used to query hosts and facters managed Ansible as well search Ansible logs.
  • Ansible Template Playground - Online playground for running, testing and sharing Ansible templates.
  • YAML Validator, (chrome extension) - Online YAML validator and formatter with Ansible JSON Schema validation. The Chrome extension also adds YAML code folding on GitHub.

Best practices and other opinions on Ansible.

Awesome production ready Playbooks, Roles and Collections to get you up and running.

  • Ansible Vagrant Examples by geerlingguy - Ansible examples using Vagrant to deploy to local VMs.
  • Ansible playbook for Linux machine setup - Ansible playbook for setting up a self-updating, hardened Debian/Ubuntu machine with Docker daemon.
  • Ansible Lockdown - Ansible content to assist in both auditing and remediating against CIS or STIG baseline compliance for OS’s and Applications.
  • DevSec Hardening Framework - The DevSec collection helps you harden your Linux Based OS as well as MySQL, NGINX and SSH Server/Services.
  • T.A.D.S. boilerplate - Provision and deploy a Docker Swarm cluster to development environment and to production. Infrastructure as Code and DevOps best practices.
  • Openstack Ansible - Ansible Playbooks for deploying OpenStack.
  • Robert de Bock - A extensive collection of Ansible roles.
  • DebOps - A extensive collection of Debian based Ansible Playbooks.
  • ansible-ssm - An Ansible role to provision physical and virtual hosts with the AWS SSM agent.
  • BlueBanquise - An Ansible coherent roles collection to deploy clusters.
  • redhat-cop - Repositories with Ansible topic of the Red Hat Communities of Practice project.
  • Linuxfabrik LFOps - An Ansible Collection with 145+ playbooks and 160+ roles to bootstrap and manage Linux infrastructure (RHEL 8/9/10, Debian, Ubuntu). Covers OS hardening, MariaDB, Icinga2, Nextcloud, FreeIPA, KVM and Bitwarden integration.

Awesome Integrations into Text Editors and IDE’s to make development with/for Ansible easier.

  • Vim - An open-source, free command-line text editor. Useful Vim plugins include:
    • Ansible vim - A vim syntax plugin for Ansible 2.x, it supports YAML playbooks, Jinja2 templates, and Ansible’s hosts files.
    • Ansible vim and neovim plugin - A vim plugin (lsp client) for Ansible, it supports autocompletion, syntax highlighting, hover, diagnostics, and goto support.
  • Emacs - A free, open-source text editor and IDE that supports auto-indentation, syntax highlighting and a built in terminal shell (among other things):
    • lsp-mode - Ansible Language Server Protocol support for Emacs: provides syntax highlighting, auto-completion and diagnostics.
    • yaml-mode - YAML highlighting and syntax checking.
    • jinja2-mode - Jinja2 highlighting and syntax checking.
    • magit-mode - Git porcelain within Emacs.
    • flymake-ansible-lint - Ansible Lint integration with automatic/continuous annotation of errors, warnings, and info while editing.
  • PyCharm - A full IDE for Python software development. Useful plugins include:
    • Ansible Lint - Ansible Lint integration with automatic/continuous annotation of errors, warnings, and info while editing.
    • Ansible Vault Integration - Ansible vault integration for IntelliJ IDEA with context actions for vaulting and unvaulting secrets.
  • OrchidE - Full-featured Ansible language support for IntelliJ-based IDEs, with code completion, syntax highlighting, inspections, quick documentation, navigation across playbooks, roles and inventories, and integrated Ansible Vault support.

HagiCode

HagiCode is an agentic coding workspace. Rich, convenient UI interactions make planning, agent execution, and project work approachable and easy to navigate, creating an engaging development experience.

Explore an engaging development experience through rich, convenient UI interactions.

Visit HagiCodeRead the documentation
  • SmartOpenSpec workflows turn intent into an executable path, from proposal to design, tasks, and a shipped change.
  • EfficientMulti-agent execution keeps research, implementation, and review moving in parallel, across several repositories and the Agent CLIs you already use.
  • InterestingRich, convenient UI interactions make planning, agent execution, and project work approachable and easy to navigate.

Download for Windows

Get it from Microsoft StoreAll downloads

Turn ideas into shipped software.

HagiCode is an agentic coding workspace. OpenSpec workflows plan the change, multi-agent execution carries it out, and Hero Scenario makes the long run visible, so ideas become shipped software.

Smart
OpenSpec workflows turn intent into a path from proposal to shipped change.
Efficient
Multi-agent execution runs research, build, and review in parallel.
Fun
Rich UI interactions make planning, agent work, and projects easier to follow.

Leave Awesome Site?

You are about to visit an external website. We do not control its content or privacy practices.

Destination

Continue to website