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: I4d8134e04d751e7506e21cd14424898c28200cb3 Related-Bug: #1820830
This commit is contained in:
parent
837fe2ec88
commit
78db69714b
@ -25,7 +25,7 @@ ironic_service_setup_host: "{{ openstack_service_setup_host | default('localhost
|
||||
ironic_service_setup_host_python_interpreter: "{{ openstack_service_setup_host_python_interpreter | default((ironic_service_setup_host == 'localhost') | ternary(ansible_playbook_python, ansible_python['executable'])) }}"
|
||||
|
||||
# Comma separated list of Glance API servers
|
||||
ironic_glance_api_servers: "{{ (glance_service_internalurl | default('http://localhost')) | netorigin }}"
|
||||
ironic_glance_api_servers: "{{ (glance_service_internalurl | default('http://localhost')) | urlsplit('scheme') ~ '://' ~ (glance_service_internalurl | default('http://localhost')) | urlsplit('netloc') }}"
|
||||
|
||||
# Set the package install state for distribution and pip packages
|
||||
# Options are 'present' and 'latest'
|
||||
|
Loading…
x
Reference in New Issue
Block a user