BZ1106605 - detect correct ip address

when assigning discovered host to a OpenStack role