# Ansile Return Value

**URL:** <https://forum.ansible.com/t/ansile-return-value/22106>\
**Category:** Ansible Developer\
**Created:** [July 25, 2016, 6:24am UTC](https://forum.ansible.com/t/ansile-return-value/22106 "2016-07-25T06:24:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kevin-Ian\_Giermann](https://avatars.discourse-cdn.com/v4/letter/k/fbc32d/32.png) [@Kevin-Ian\_Giermann](https://forum.ansible.com/u/Kevin-Ian_Giermann)\
**Post date:** [July 25, 2016, 6:24am UTC](https://forum.ansible.com/t/ansile-return-value/22106/1 "2016-07-25T06:24:45Z")

</div>

Hey guys,

i’ve got a question.

So we are currently using Ansible in [conjunction](http://www.dict.cc/englisch-deutsch/conjunction.html) with OpenStack.  
i’ve written a playbook (to deploy new server via OpenStack) where i use the module “os\_server” where i use “auto\_ip: yes” , so the new server will become an IP Adress assigned from the OpenStack Server.

if i use the “-vvvv” output command, i get a loooong output where in the middle of that output an IP-Adress is listed.  
So, cause i am am a lazy guy i want to put just this IP Adress in a variable and let me show this IP Adress in an extra field.  
It should look like this:

“…output stuf…  
…  
…  
…  
…”

“The IP Adress of the New server is …”

is there any possibility you know to put these IP Adress Field in a variable or to filter that output to the IP Adress?

I hope you guys can help me !

kind regards,

kgierman
