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: I36ecd276ff1e4c16a7728658e8821bae1615916c
Related-Bug: #1820830
This commit is contained in:
Georgina Shippey 2019-03-27 17:29:37 +00:00
parent 02d49dc578
commit 784494a459
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ cinder_backend_rbd_inuse: '{{ (cinder_backends|default("")|to_json).find("cinder
# "volume:delete": ""
# Comma separated list of Glance API servers
cinder_glance_api_servers: "{{ (glance_service_internalurl | default('http://localhost')) | netorigin }}"
cinder_glance_api_servers: "{{ (glance_service_internalurl | default('http://localhost')) | urlsplit('scheme') ~ '://' ~ (glance_service_interalurl | default('http://localhost')) | urlsplit('netloc') }}"
cinder_service_in_ldap: false