Why not just use an extra vars file?  Extra vars can be json or yaml files:

--extra-vars "@some_file.yml"
--extra-vars "@some_file.json"


On Monday, January 26, 2015 at 5:17:59 AM UTC-5, Wojciech Korzenny wrote:
>
> Hi, 
>
> What's the easiest way to get the list of all --extra-vars parameters 
> which are given for ansible-playbook playbook.yaml command? 
> I'd like to write an ansible module/script which saves those parameters in 
> some file. 
>
> Thanks, 
> Wojtek
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/78dcaa01-43f5-41aa-bb41-c97c55d7f104%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to