This is an ansible-lint
that checks for empty lines between tasks for readability.
The detailed documentation of the rule can be found in rules/empty_line_between_tasks.md
.
pip install ansible-lint-empty-lines-between-tasks
Just run ansible-lint
as usual.
This rule can also fix the issues via ansible-lint --fix
.