This repo explains how to visualize your Ansible playbook.
Graphviz will draw an SVG picture for you by reading a .dot file ansible-playbook-grapher will create by examining your playbook.
If you want to build your own map manually, it's worth using the VSCode MarkMap plugin.
Run this command to visualize your playbook:
ansible-playbook-grapher -i your-inventory-file --include-role-tasks your-playbook.yml
Follow Ansible Playbook Grapher for details.
sudo apt-get install graphviz # or yum install or brew install (MacOS)
pip install ansible-playbook-grapher
This repo was inspired by Ansible Playbook Grapher, and VSCode MarkMap.
- GitHub: Ansible playbook graph
- Blog: Visualizing Ansible Plays and Tasks
- GitHub: Ansible inventory graph
- Blog: generate a diagram of your Ansible inventory
- VSCode MarkMap
- VSCode Code Spell Checker
Follow all involved parties licenses terms and conditions.