Linter Ansible Syntax
apm install linter-ansible-syntax
Linter-Ansible-Syntax aims to provide functional and robust
Ansible syntax check linting functionality within Atom.
Ansible is required to be installed (preferably from a package or a pip) before using this. The
Language-Ansible atom packages are also required but should be automatically installed as dependencies thanks to steelbrain’s
- In older versions of
ansible-playbook --syntax-checkoutput sometimes does not output line and column information for errors. When it guesses the line and column, then that information will be displayed. If it does not, the error will be displayed at line 1, column 1.
- There is never line and column information for warnings and deprecation warnings.
Ansiblesyntax check only outputs the first error it encounters and therefore only the first error in a playbook will be displayed.
Ansiblesyntax check functionality is only operable on a playbook. If your playbook contains roles and/or includes anywhere in the playbook, then these will be checked as well with recent versions of
Ansible. You can quickly navigate to errors in includes and roles using the provided
- To quickly and easily access issues in other files, you will need to change the settings inside
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.