This section provides a guide on what documentation should be written in your roles, and how they should be written.
Style
Documentation Style
- Name the playbooks and tasks with a meaningful descriptions
- Document role’s usage in
README.md - Document role’s python requirements in
requirements.txt - Provide all required metadata (like dependencies on other roles) in
meta/main.yml
Code Style
- All documents should pass their relevant linters
Ansible code
- Always use the
key: valuenative YAML style overkey=valuestyle.
Contributors
- Authors should be listed in no particular author in
AUTHORS.mdandcodemeta.json - contributors should be properly attributed in
codemeta.json