What may work is using Ansible Modul script.
It returns e.g. as stdout only the requested string.

-- 
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/a016b71f-31f7-46b2-9264-f1b67451e362o%40googlegroups.com.

Reply via email to