hello,

I am trying to have a python script (auto triggered when a playbook is run) 
to take from playbook extra_vars and uses it as var for the script.

for example:
ansible-playbook test.yml --extra-vars "win=True"

something like in the script
result = self.playbook.extra_vars['win']

any good tips, suggestions

Thanks,
Jerry

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c6c78c90-e0eb-4ad9-b6a5-2317586f16ddo%40googlegroups.com.

Reply via email to