Suppose I've url=http://example.com:90/url and now in my ansible task I 
want to get the url variable by {{ url }} and then do a regex match and 
fetch oly the hostname i.e. example.com.
Any directions on how this can be achieved would help.

-- 
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/90496247-fd89-4f49-ac0f-bc98ec8e8330%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to