Is it possible to list the tasks in an Ansible role?
i.e. other than just grepping for - name, is there an out-of-the-box way of doing this?
Create a simple playbook specifying the role and execute ansible-playbook with --list-tasks option.
But this will not list the tasks in dynamically included files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With