You can also return the information you need as Ansible facts, which means 
you can just reference them as normal Ansible variables and you don't have 
to use 'register'.

An example of a simple custom module I wrote 
is https://github.com/pmarkham/ansible-ipcalc/blob/master/ipcalc

-- 
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/0aa34113-8a6b-4e79-92d5-a14dd200b987%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to