A plugin for the IntelliJ platform utilizing Ansible Lint.
Your system needs to have Ansible Lint version 6.11.0
(or later) installed.
Use the IDE's built-in plugin system:
File
-->Settings...
-->Plugins
-->Marketplace
- search for:
Ansible Lint
- click the
Install
-button
Or go to the plugin page on the JetBrains-website, download the archive-file and install manually.
After installing the plugin you should go to the settings dialog and hit the Test
button to check if ansible-lint
is fully operable.
Adjust the command path and/or options as needed.
By default, the plugin will only start linting YAML-files if your project root contains one of these configuration files:
.ansible-lint
.config/ansible-lint.yml
You can eiter create one manually or use the statusbar pop-up actions; which will be available when a YAML file is opened (and no config file is present):
It is possible to use the plugin without a config file (see settings dialog above).
However, this would mean that every YAML-file will unnecessarily be passed to ansible-lint
; even in Non-Ansible projects.
Please read the license file.
- Ansible logo - simpleicons.org
- Check pictogram - Bootstrap Icons
- Heart icon - FontAwesome
If you like this plugin, please consider a donation. Thank you!