• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

linter-ansible-linting

Ansible linting via ansible-lint
  • #lint
  • #linter
  • #ansible
  • #ansible-lint
mschuchard
1.5.2 69,589
52
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Preview

Linter-Ansible-Linting

Build Status

Linter-Ansible-Linting aims to provide functional and robust Ansible-Lint linting functionality within Atom.

Installation

Ansible-Lint >= 3.5.0 is required to be installed (preferably from a package or a pip) before using this. Ansible-Lint < 3.5 is officially unsupported. It may work, but it is not guaranteed. The Linter and Language-Ansible (or Language-Ansible-Advanced) Atom packages are also required.

Usage

  • This linter must be used on playbook or role task files.
  • Ansible-Lint will attempt to lint includes and roles from your playbook. Errors with includes and roles will throw a clean error to your Atom-Linter display notifications. Syntax errors in the current file, includes, and roles will be caught, and a notification displayed via the linter.
  • Adding any one nonexistent rules directory to the custom rules directories array will cause Ansible-Lint to not function.
  • To quickly and easily access issues in other files, you will need to change the settings inside Linter-UI-Default. For Panel Represents and/or Statusbar Represents, you will need to change their options to Entire Project. This will allow you to use either display to quickly access issues in other files by clicking on the displayed information.

Notice: Ansible syntax issues will be displayed at the top of the current file due to a bug in Atom's Node.js and inconsistent output formats for errors from Ansible-Lint. If true syntax checking is desired, then the package linter-ansible-syntax should be installed.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by