Browse Source

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
tags/19.0.0.0rc1
Georgina Shippey 3 months ago
parent
commit
8dad0ddc04
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      playbooks/healthcheck-infrastructure.yml

+ 1
- 1
playbooks/healthcheck-infrastructure.yml View File

@@ -191,7 +191,7 @@
191 191
         venv_build_host_wheel_path: "{{ repo_pypiserver_package_path | default('/var/www/repo/pools') }}"
192 192
         venv_pip_install_args: >-
193 193
           --index-url {{ repo_build_pip_default_index | default('https://pypi.python.org/simple') }}
194
-          --trusted-host {{ (repo_build_pip_default_index | default('https://pypi.python.org/simple')) | netloc_no_port }}
194
+          --trusted-host {{ (repo_build_pip_default_index | default('https://pypi.python.org/simple')) | urlsplit('hostname') }}
195 195
     - name: Copying test script
196 196
       copy:
197 197
         src: "../scripts/rabbitmq-test.py"

Loading…
Cancel
Save