ansible-lint
ansible-lint copied to clipboard
name[imperative]: All task names should be written in the imperative
Starting to pull in possible rule ideas from the community of practice: https://github.com/redhat-cop/automation-good-practices/pull/64
A task in a task file or play performs an action, the name of the task should be written in the imperative.
We might need to pull this one and use some internals rather than maintain an internal list:
https://github.com/PyCQA/pydocstyle/blob/master/src/pydocstyle/data/imperatives.txt
Are we ok to add pydocstyle as a dependency for the linter? Do we have any other python library that can help us achieve the same goal?