• Stars
    star
    3,306
  • Rank 13,023 (Top 0.3 %)
  • Language
    Python
  • License
    GNU General Publi...
  • Created over 10 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ansible-lint checks playbooks for practices and behavior that could potentially be improved and can fix some of the most common ones for you

PyPI version Ansible-lint rules explanation Discussions GitHub Actions CI/CD pre-commit

Ansible-lint

ansible-lint checks playbooks for practices and behavior that could potentially be improved. As a community-backed project ansible-lint supports only the last two major versions of Ansible.

Visit the Ansible Lint docs site

Using ansible-lint as a GitHub Action

This action allows you to run ansible-lint on your codebase without having to install it yourself.

# .github/workflows/ansible-lint.yml
name: ansible-lint
on:
  pull_request:
    branches: ["stable", "release/v*"]
jobs:
  build:
    name: Ansible Lint # Naming the build is important to use it as a status check
    runs-on: ubuntu-latest
    steps:
      - name: Run ansible-lint
        uses: ansible/ansible-lint@v6

For more details, see ansible-lint-action.

Contributing

Please read Contribution guidelines if you wish to contribute.

Licensing

The ansible-lint project is distributed as GPLv3 due to use of GPLv3 runtime dependencies, like ansible and yamllint.

For historical reasons, its own code-base remains licensed under a more liberal MIT license and any contributions made are accepted as being made under original MIT license.

Authors

ansible-lint was created by Will Thames and is now maintained as part of the Ansible by Red Hat project.

More Repositories

1

ansible

Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.
Python
58,550
star
2

awx

AWX provides a web-based user interface, REST API, and task engine built on top of Ansible. It is one of the upstream projects for Red Hat Ansible Automation Platform.
Python
13,309
star
3

ansible-examples

A few starter examples of ansible playbooks, to show features and how they work together. See http://galaxy.ansible.com for example roles from the Ansible community for deploying many popular applications.
Shell
11,347
star
4

molecule

Molecule aids in the development and testing of Ansible content: collections, playbooks and roles
Python
3,765
star
5

ansible-container

DEPRECATED -- Ansible Container was a tool to build Docker images and orchestrate containers using only Ansible playbooks.
Python
2,194
star
6

workshops

Training Course for Ansible Automation Platform
Jinja
1,646
star
7

ansible-modules-core

Ansible modules - these modules ship with ansible
Python
1,279
star
8

awx-operator

An Ansible AWX operator for Kubernetes built with Operator SDK and Ansible. πŸ€–
Jinja
1,129
star
9

ansible-modules-extras

Ansible extra modules - these modules ship with ansible
Python
942
star
10

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. The goal is to provide a stable and consistent interface abstraction to Ansible.
Python
897
star
11

galaxy

Legacy Galaxy still available as read-only on https://old-galaxy.ansible.com - looking for the new galaxy -> https://github.com/ansible/galaxy_ng
Python
845
star
12

ansible-jupyter-kernel

Jupyter Notebook Kernel for running Ansible Tasks and Playbooks
Python
518
star
13

community

This repository is being archived. See https://github.com/ansible-community/presentations and https://github.com/ansible-community/meetings for the new locations
HTML
489
star
14

lightbulb

Lightbulb has been deprecated and replaced by Ansible Workshops
HTML
481
star
15

ansible-lockdown

Archived, new content in https://github.com/ansible-lockdown
454
star
16

ansible-docker-base

Ansible base Images for easy Ansible-Playbook-based Docker builds
406
star
17

tower-cli

THIS TOOL IS NO LONGER UNDER ACTIVE DEVELOPMENT. This tool is being phased out in favor of the new official AWX CLI
Python
364
star
18

test-playbooks

playbook-tests
Python
346
star
19

ansible-navigator

A text-based user interface (TUI) for Ansible.
Python
313
star
20

vscode-ansible

vscode/vscodium extension for providing Ansible auto-completion and integrating quality assurance tools like ansible-lint, ansible syntax check, yamllint, molecule and ansible-test.
TypeScript
308
star
21

ansible-builder

An Ansible execution environment builder
Python
264
star
22

ansible-lint-action

❗️Replaced by https://github.com/marketplace/actions/run-ansible-lint
254
star
23

ansible-language-server

🚧 Ansible Language Server codebase is now included in vscode-ansible repository
TypeScript
249
star
24

event-driven-ansible

Python
247
star
25

ansibullbot

Bot for management of Ansible issues and PRs on GitHub.
Python
202
star
26

ansible-runner-service

Python
198
star
27

galaxy_ng

Ansible Galaxy Server - Issues on https://forum.ansible.com Docs on https://galaxy-ng.readthedocs.io/
Python
186
star
28

ansible-rulebook

Python
168
star
29

terraform-provider-ansible

community terraform provider for ansible
Go
152
star
30

product-demos

Jinja
150
star
31

pytest-ansible

A pytest plugin that enables the use of ansible in tests, enables the use of pytest as a collection unit test runner, and exposes molecule scnearios through a pytest fixture.
Python
149
star
32

receptor

Project Receptor is a flexible multi-service relayer with remote execution and orchestration capabilities linking controllers with executors across a mesh of nodes.
Go
144
star
33

awx-ee

An Ansible execution environment for AWX project
121
star
34

creator-ee

Ansible Execution environment targeted for content creators. It includes most development tools such ansible-lint, molecule, ...
Shell
117
star
35

mazer

Experimental Ansible Galaxy Content Manager
Python
113
star
36

ansible-for-rubyists

Ansible is written in Python, but you can write modules in any language. Here are some Ruby examples to get you started.
Ruby
108
star
37

immutablish-deploys

Python
99
star
38

proposals

Repository for sharing and tracking progress on enhancement proposals for Ansible.
91
star
39

ansible-container-examples

A few starter applications to demonstrate features and provide examples.
Python
76
star
40

ansible-kubernetes-modules

DEPRECATED Ansible role containing pre-release K8s modules
Python
73
star
41

tacacs_plus

A Python-based TACACS+ client that supports authentication, authorization and accounting.
Python
64
star
42

ansible-ui

Ansible UI
TypeScript
61
star
43

pytest-mp

multiprocessing.Process(target=pytest_runtest_protocol, args=(your_test, None))
Python
61
star
44

instruqt

Self-paced instruqt Training material
Shell
60
star
45

ansible-container-demo

Manage the application lifecycle from development to deployment using Ansible Container
JavaScript
60
star
46

ansible-hub-ui

Ansible Automation Hub UI
TypeScript
60
star
47

autoscaling-blog

Companion playbooks to an article at http://www.ansible.com/blog/autoscaling-infrastructures
56
star
48

pylibssh

Python bindings specific to Ansible use case for libssh https://www.libssh.org/
Cython
55
star
49

ansible-documentation

Ansible community documentation
Python
55
star
50

galaxy_collection

Collection of modules and roles to configure Automation Hub
Python
49
star
51

tox-ansible

The tox-ansible plugin dynamically creates a full matrix of python interpreter and ansible-core version environments for running integration, sanity, and unit for an ansible collection both locally and in a Github action. tox virtual environments are leveraged for collection building, collection installation, dependency installation, and testing.
Python
47
star
52

ansible-tower-samples

Ansible Tower Playbook Samples
46
star
53

schemas

❗️Schemas are now managed inside ansible-lint project
TypeScript
44
star
54

ansible-baseline

A baseline playbook for testing Ansible performance
Python
41
star
55

ansible-creator

The fastest way to generate all your ansible content!
Python
40
star
56

role-secure-docker-daemon

Ansible role to generate server and client certificates for your docker daemon
Shell
38
star
57

awx-resource-operator

Jinja
37
star
58

workshop-examples

This repository contains demo playbooks and roles used in our Ansible Workshops.
37
star
59

ansible.github.com

nothing to see here, this just makes ansible.github.com/io a redirect to the main project page
JavaScript
35
star
60

eda-server-prototype

Python
34
star
61

ansible-blog-examples

Example playbooks from posts on the Ansible blog (https://www.ansible.com/blog)
Python
34
star
62

awx-facts-playbooks

Repository containing playbooks to support fact scanning in Ansible Tower and AWX.
Python
32
star
63

galaxy-lint-rules

Ansible Lint rules used by Galaxy and Mazer to evaluate Ansible content
Python
29
star
64

ansible-risk-insight

Ansible Risk Insight (ARI) is the tool to evaluate the quality and risk of the ansible content.
Python
29
star
65

tower-example

Ansible Tower Example Playbooks
28
star
66

ansible-runner-http

Python
28
star
67

ansible-lightspeed

26
star
68

project-config

Zuul configuration files for the Ansible tenant
Python
25
star
69

awx-logos

Less
25
star
70

role-install-gcloud

Install Google Cloud SDK and Kubernetes kubectl CLI.
Shell
24
star
71

eda-server-operator

Jinja
24
star
72

distro-test-containers

Distribution specific containers for Ansible integration testing.
Dockerfile
24
star
73

ansible-sdk

The Ansible SDK
Python
23
star
74

galaxy-importer

Galaxy content importer
Python
22
star
75

azure-testing

Former home for Ansible Azure module testing. Testing is now part of the main Ansible repository.
21
star
76

network-infra-playbooks

Playbooks and roles for installing and managing Ansible networking CI
Shell
21
star
77

ansible-zuul-jobs

Zuul job definitions for the Ansible tenant.
Python
20
star
78

galaxy-issues

This repository exists solely for the tracking of user issues with Ansible Galaxy.
20
star
79

vcenter-test-container

vCenter simulator container for testing.
Python
20
star
80

django-gulp-nginx

Django + PostgreSQL + Nginx with Gulp-built static assets framework, managed with Ansible Container
JavaScript
19
star
81

ansible_tower_client_ruby

Ruby gem for the Ansible Tower REST API
Ruby
18
star
82

ansible-compat

A python package containing functions that help interacting with various versions of Ansible
Python
18
star
83

community-docs

docs.ansible.com/community
18
star
84

ansible-dev-tools

Ansible automation developer tools
Python
18
star
85

pinakes

Python
17
star
86

docker-testing

New Docker modules.
Shell
17
star
87

ambassadors

A repository of useful materials for Ansible Ambassadors around the world.
17
star
88

test-network-modules

Playbooks for testing Ansible core network modules
JavaScript
17
star
89

ansible-dev-environment

Build and maintain a development environment including ansible collections and their python dependencies
Python
17
star
90

network

Ansible collection for network devices
16
star
91

aap-docs

Asciidoc technical content for Ansible Automation Platform
16
star
92

docsite

Static HTML and assets for docs.ansible.com
HTML
15
star
93

tower-nagios-integration

Scripts and documentation related to the integration of Ansible Tower with Nagios.
Python
15
star
94

django-template

A Django project template for Ansible Container
Python
15
star
95

nginx-container

Add an nginx service to your Ansible Container project
Python
14
star
96

receptor-collection

Jinja
13
star
97

terraform-provider-aap

Terraform Provider for Ansible Automation Platform
Go
12
star
98

team-devtools

Shared practices, workflows and decisions impacting Ansible devtools projects
12
star
99

galaxy-dev

Ansible Automation Hub
Dockerfile
11
star
100

slides

SCSS
11
star