{"repo":"ansible/ansible-lint","free":true,"listed":false,"github":"https://github.com/ansible/ansible-lint","clone":"git clone https://github.com/ansible/ansible-lint.git","description":"ansible-lint checks playbooks for practices and behavior that could potentially be improved and can fix some of the most common ones for you","language":"Python","stars":3898,"topics":["ansible","ansible-lint","pre-commit-hook","hacktoberfest","dot-config","pep-621","ansible-dev-tools"],"license":"GPL-3.0","category":"deployment-docker-iac","readme_excerpt":"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. By default, the workflow uses ansible-lint installed from main . For production or stable workflows, it is recommended to specify a particular release tag (in format v.X.X.X). All the arguments are optional: - args : Arguments to be passed to ansible-lint command. - gh action ref : The git branch, tag, or commit to use for ansible-lint. Not recommended for standard use - only use with composite actions where GH ACTION REF is set to the parent action version. - requirements file : Path to the requirements.yml file to install role and collection dependencies. - setup python : If python should be installed. Default is true . - python version : The version of python to install. Default is 3.14 . - working directory : The directory where to run ansible-lint from. Default is github.workspace . Needed if you want to lint only a subset of your repository. 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","default_branch":null,"files":null,"tree":[],"storefront":"/r/ansible","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ansible/ansible-lint/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}