Include undercloud private IP as a stack output

This will allow quickstart to bind the UI apache to the correct
interface.
This commit is contained in:
Steve Baker 2017-09-26 15:32:11 +13:00
parent 03fdd5f72d
commit 47b6f0548d
3 changed files with 22 additions and 0 deletions

View File

@ -253,3 +253,7 @@ outputs:
description: "floating ip of the undercloud instance"
value:
get_attr: [undercloud_env, undercloud_host_floating_ip]
undercloud_host_private_ip:
description: "ip of the undercloud instance on the private network"
value:
get_attr: [undercloud_env, undercloud_host_private_ip]

View File

@ -73,3 +73,12 @@ outputs:
description: "floating ip of the undercloud instance"
value:
get_attr: [undercloud_floating_ip, undercloud_host]
undercloud_host_private_ip:
description: "ip of the undercloud instance on the private network"
value:
get_attr:
- undercloud_server
- addresses
- {get_param: private_net}
- 0
- addr

View File

@ -59,3 +59,12 @@ outputs:
description: "floating ip of the undercloud instance"
value:
get_attr: [undercloud_floating_ip, undercloud_host]
undercloud_host_private_ip:
description: "ip of the undercloud instance on the private network"
value:
get_attr:
- undercloud_server
- addresses
- {get_param: private_net}
- 0
- addr