Replace usage of netloc filters to urlsplit
Removed references to netloc_no_port as it will be taken out from openstack-ansible-plugins. Now using ansible 2.4's urlsplit filter as a replacement. Change-Id: If28c8bf2856ebb9a1cab4759b3ddc5b6c4685abf Related-Bug: #1820830
This commit is contained in:
parent
d60a310836
commit
79d2ab3f0b
|
@ -1,6 +1,6 @@
|
|||
# {{ ansible_managed }}
|
||||
{% set pip_links_host_list = pip_links | map(attribute='link') | map('netloc_no_port') | list %}
|
||||
{% set trusted_host_list = pip_links_host_list | union([ pip_default_index | netloc_no_port ]) %}
|
||||
{% set pip_links_host_list = pip_links | map(attribute='link') | map('urlsplit', 'hostname') | list %}
|
||||
{% set trusted_host_list = pip_links_host_list | union([ pip_default_index | urlsplit('hostname') ]) %}
|
||||
|
||||
[global]
|
||||
disable-pip-version-check = {{ (pip_disable_version_check | bool) | lower }}
|
||||
|
|
Loading…
Reference in New Issue