Hi,

I have a simple playbook that registers some variables. And I have a mail 
callback plugin that sends out an email if a playbook run fails 
(runner_on_failed). How do I access the value of a registered variable from 
within the callback plugin, with the purpose of sending that value across 
in the email? 

I did see various discussions and examples of access hostvars and group 
vars from within the callback module. But didn't really find an example of 
accessing a registered variable.

Any examples or suggestions will be helpful. Thanks in advance.

Regards

-- 
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/e14644f3-20fb-4ee0-a81c-7def1096d4c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to