rvben / galaxy-lint-rules

Ansible Lint rules used by Galaxy and Mazer to evaluate Ansible content

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

galaxy-lint-rules

This repository is for testing planned new ansible-lint rules. The official adoption of these rules will occur in the ansible-lint repository - we will solicit community feedback there during PR proposals.

Ansible Lint will be used by the Galaxy server, starting in version 3.1 (under development), and a yet to be determined future release of Mazer, the new Galaxy CLI, to evaluate Ansible content.

Rules

see RULE_DOCS.md

Usage

This guide assumes you have an Ansible role available locally, e.g. in roles/example.rolename.

  1. Install Ansible Lint: pip install ansible-lint
  2. Clone this repo: git clone git@github.com:ansible/galaxy-lint-rules.git
  3. Run Ansible Lint using the galaxy-lint-rules: ansible-lint -r galaxy-lint-rules/rules roles/example.rolename

About

Ansible Lint rules used by Galaxy and Mazer to evaluate Ansible content

License:Apache License 2.0


Languages

Language:Python 100.0%