Linter-Ansible-Linting aims to provide functional and robust Ansible-Lint linting functionality within Atom.
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.
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.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.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.