Interview Prep/Ansible/Roles, Collections and Project Structure

You need to upgrade a community role without surprising changes.

IntermediateScenarioRoles, Collections and Project Structure
Answer

Situation read → Third-party update risk.

What I'd do →

  1. Read the changelog and diff old vs new tag.
  2. Bump the pin in a branch.
  3. Run Molecule/--check --diff against staging.
  4. Roll to prod via the normal pipeline.

Why → Roles change defaults over time; a pinned, reviewed upgrade avoids silent behaviour shifts.

Interview tip → Fork when upstream is abandoned, but track it.

All Ansible questions Roadmap: Ansible

More on Roles, Collections and Project Structure