community.general
community.general copied to clipboard
CI: Add yamllint for YAML files, plugin/module docs, and YAML in extra docs
SUMMARY
This adds a basic yamllint config together with antsibull-nox configuration to use it for various places where YAML appears.
antsibull-nox allows to configure different yamllint configs for different contexts (YAML files, plugin/module docs, plugin/module examples, extra docs), for now I'd suggest to use the same "generic" (and not too strict) one for everything.
ISSUE TYPE
- Test Pull Request
COMPONENT NAME
CI
@russoz ping
It's in my backlog, will likely review it on the weekend or early next week.
Rebased to avoid this failing after merging due to changes ;-)
Backport to stable-11: 💚 backport PR created
✅ Backport PR branch: patchback/backports/stable-11/7e66fb052e1d58037d4db731bb34caa5e092be2b/pr-10279
Backported as https://github.com/ansible-collections/community.general/pull/10317
🤖 @patchback I'm built with octomachinery and my source is open — https://github.com/sanitizers/patchback-github-app.
@russoz thanks for reviewing this!