Skip to content

Ansible

A Python-based, open-source IT configuration management and automation platform.

Source

102 resources imported from ansible-community/awesome-ansible, dedicated to the public domain (CC0 / Unlicense). Thanks to its maintainers and contributors. Part of the KEEBOX Library · Category: Miscellaneous.

Official resources

Community

  • 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.

Tutorials

Books

Videos

Tools

  • 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-vars - ansible-vault replacement that supports encrypting individual vault variables.
  • 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.
  • speedrunner - Cuts the start-up time of ansible, ansible-doc and other Ansible commands by serving them from a preloaded daemon, which helps scripts that call them many times.
  • YAML Validator, (chrome extension) - Online YAML validator and formatter with Ansible JSON Schema validation. The Chrome extension also adds YAML code folding on GitHub.

Blog posts and opinions

German

French

Playbooks, Roles and Collections

  • 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.

Editor and IDE Integrations

  • Ansible Language Server - Language Server that adds support for Ansible, to compatible Editors.
  • VS Code - official Ansible Extension - Adds language support for Ansible to Visual Studio Code and OpenVSX compatible editors by leveraging ansible-language-server.
  • 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.