You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to be able to put two empty lines between some tasks in a single file to make a visual separation between groups of related tasks and improve readability. Example:
Summary
I want to be able to put two empty lines between some tasks in a single file to make a visual separation between groups of related tasks and improve readability. Example:
To achieve that, I wrote a custom
.yamllint.yml
file with the following content:But it does not help, and running
ansible-lint --fix
removes extra empty line, and the result has exactly one empty line between tasks.Issue Type
OS / ENVIRONMENT
STEPS TO REPRODUCE
Create a
.yamllint.yml
file with the following content:Run ansible-lint --fix on a playbook with more than one empty line between tasks.
Desired Behavior
The
ansible-lint --fix
command should respect the custom.yamllint.yml
configuration and allow up to two empty lines between tasks.Actual Behavior
Running
ansible-lint --fix
removes extra empty lines and results in exactly one empty line between tasks.The text was updated successfully, but these errors were encountered: