Checks playbooks for practices and behavior that could potentially be improved
Project description
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: ["main", "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:
- uses: actions/checkout@v4
- name: Run ansible-lint
uses: ansible/ansible-lint@main # or version tag instead of 'main'
For more details, see ansible-lint-action.
Communication
Refer to the Talk to us section of the Contributing guide to find out how to get in touch with us.
You can also find more information in the Ansible communication guide.
Contributing
Please read Contribution guidelines if you wish to contribute.
Code of Conduct
Please see the Ansible Community Code of Conduct.
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ansible_lint-24.9.0.tar.gz
.
File metadata
- Download URL: ansible_lint-24.9.0.tar.gz
- Upload date:
- Size: 534.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8c9c94c6c3bc68b43bcf7b067e286f8201e341772c7d3dbdb0364ecab2b3944 |
|
MD5 | b2638494f33bcac54ccc0c8a21de5c96 |
|
BLAKE2b-256 | 51515e9ff2797c3f2ac66e9230abc240da052328694a88f423d8c78420cbb864 |
File details
Details for the file ansible_lint-24.9.0-py3-none-any.whl
.
File metadata
- Download URL: ansible_lint-24.9.0-py3-none-any.whl
- Upload date:
- Size: 307.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8273136ce544c50bb073e928fdf596a1a82c86db2463e98402c29b8616af5406 |
|
MD5 | a2263d8373a0c5002250061c305cf30e |
|
BLAKE2b-256 | 9921f5c0545e83b09511ee731831f80f627827f662882db33f683e764b3e9231 |