Interview Prep/Ansible/Roles, Collections and Galaxy

What is `ansible-navigator` and how does it relate to `ansible-playbook`?

AdvancedConceptRoles, Collections and Galaxy
Answer

ansible-navigator is a TUI/CLI that runs playbooks (and doc, inventory, collections commands) inside an execution environment, with a browsable interface for results. It is the developer-side tool that matches how AAP runs jobs.

ansible-navigator run site.yml -i inventory/ -m stdout --eei registry.example.com/ee-platform:1.0
ansible-navigator run site.yml --ee false      # run without a container

-m stdout gives plain ansible-playbook-style output for CI. Use it to reproduce an AAP failure locally with the same image.

All Ansible questions Roadmap: Ansible

More on Roles, Collections and Galaxy