Ansible-Playbook List All Variables: Plugin?

Hi,

I’m new to this (first time in code contribution). I’ve modified my ansible-playbook to include an option to list all variables in the same way it can list all tasks.

So something like:

ansible-playbook playbook.yml --listvars

It will parse all the variables used in each play. I’ve been wondering how I would contribute the code back. Should I do pull request? Or create a feature/bug label on github? Or should this be a plugin? Should I fork it instead? Or is it already in development?

Sorry for asking so many newbie questions.

Justin

Okay. I’ve removed styling changes and submitted by pull request.

https://github.com/ansible/ansible/pull/10143

Justin

very cool. I’ve been using an emit_vars.yml playbook. love to see this baked in