Interview Prep/Ansible/Project Structure and Design

What should a role README contain?

BeginnerProductionProject Structure and Design
Answer

What the role does and supports (OS and versions), a table of variables with defaults and meaning, dependencies (collections and roles), example playbook usage, tags, handlers, how to test it (molecule test), and known limitations.

With argument_specs, ansible-doc -t role can generate the variable documentation, so the README does not drift from the code.

All Ansible questions Roadmap: Ansible

More on Project Structure and Design