mschuchard / linter-ansible-linting

ansible-lint linter for pulsar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add --exclude ansible-lint option to permit exluding certain folders ?

levequej opened this issue · comments

Hello,

It would be nice to be able to select certain folders to exclude from linting ( In my case I want to exclude community roles folder from linting). That corresponds to the ansible-lint --exclude option.

Thanks,
Julien

Although this is a setting that is really only feasible on a per-project basis, it appears that providing a nonexistent directory as a value to the --exclude argument has no effect, so this should be a safe config option to add.

I will put this in the roadmap.

thx :)