ansible-navigator

Red Hat's command-line tool that runs playbooks inside an execution environment container image and lets you browse plays, tasks and results interactively.

In more detail

ansible-navigator run site.yml starts the image with podman, mounts the project directory and runs ansible-playbook inside it, so modules come from the collections in the image rather than from the control node. It reads exactly one settings file and never merges two: the file named by ANSIBLE_NAVIGATOR_CONFIG, else ansible-navigator.yml in the project directory, else the hidden settings file in your home directory. Mode stdout prints what ansible-playbook prints; interactive mode opens a text interface you drill into by number.

Example

ansible-navigator run site.yml -m stdout

Related terms

Taught in

References

Certification courses