Replace usage of netloc filters to urlsplit
Removed the reference 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: Ib7c1a0a23ee73e355c39e4061aed05ce607cd839 Related-Bug: #1820830
This commit is contained in:
parent
ff31b374d7
commit
8dad0ddc04
|
@ -191,7 +191,7 @@
|
|||
venv_build_host_wheel_path: "{{ repo_pypiserver_package_path | default('/var/www/repo/pools') }}"
|
||||
venv_pip_install_args: >-
|
||||
--index-url {{ repo_build_pip_default_index | default('https://pypi.python.org/simple') }}
|
||||
--trusted-host {{ (repo_build_pip_default_index | default('https://pypi.python.org/simple')) | netloc_no_port }}
|
||||
--trusted-host {{ (repo_build_pip_default_index | default('https://pypi.python.org/simple')) | urlsplit('hostname') }}
|
||||
- name: Copying test script
|
||||
copy:
|
||||
src: "../scripts/rabbitmq-test.py"
|
||||
|
|
Loading…
Reference in New Issue