Replace usage of netloc filters to urlsplit

Removed the reference to netorigin as it will be taken out from openstack-ansible-plugins
Now using ansible 2.4's urlsplit filter as a replacement.

Change-Id: I64495ec530245a6355a9f0b6c84bc047ea2687b1
Related-Bug: #1820830
This commit is contained in:
Georgina Shippey 2019-03-27 17:31:09 +00:00
parent 21703a6dfd
commit 4645b4dd04
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@ nova_resume_guests_state_on_host_boot: False
# nova_default_schedule_zone: nova
# Comma separated list of Glance API servers
nova_glance_api_servers: "{{ (glance_service_internalurl | default('http://localhost')) | netorigin }}"
nova_glance_api_servers: "{{ (glance_service_internalurl | default('http://localhost')) | urlsplit('scheme') ~ '://' ~ (glance_service_internalurl | default('http://localhost')) | urlsplit('netloc') }}"
nova_network_type: linuxbridge