Replace custom netloc filters with ansible native urlsplit filter
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| OpenStack-Ansible |
Fix Released
|
Undecided
|
Georgina Shippey | ||
Bug Description
In openstack-
We should replace the use of all the netloc filters in all repositories with the urlsplit filter, then remove the netloc filters from openstack-
Examples:
"{{ foo | get_netloc }}" -> "{{ foo | urlsplit('netloc') }}"
"{{ foo | get_netloc_no_port }}" -> "{{ foo | urlsplit(
"{{ foo | get_netorigin }}" ->
"{{ foo | urlsplit('scheme') ~ '://' ~ urlsplit('netloc') }}"
This reduces our technical debt.
[1] https:/
[2] https:/
| description: | updated |
| summary: |
- Replace custom netloc filters with sensible native urlsplit filter + Replace custom netloc filters with ansible native urlsplit filter |
| tags: | added: low-hanging-fruit |
| Changed in openstack-ansible: | |
| assignee: | nobody → Georgina Shippey (gshippey) |
| description: | updated |
| description: | updated |
| description: | updated |

Related fix proposed to branch: master /review. openstack. org/644811
Review: https:/