Ansible 2 · Playbooks

List the tasks in a playbook

Show the tasks and hosts without running anything.

ansible-playbook site.yml --list-tasks

Official Ansible 2 documentation

More playbooks commands

All playbooks commands · Ansible 2 cheatsheet

Was this page helpful?