ansible / ansible.builtin / v2.16.0 / filter / urlsplit get components from URL | "added in version" 2.4 of ansible.builtin" Authors: unknownansible.builtin.urlsplit (v2.16.0) — filter
pip
Install with pip install ansible-core==2.16.0
Split a URL into its component parts.
query: choices: - fragment - hostname - netloc - password - path - port - query - scheme - username description: Specify a single component to return. type: str _input: description: URL string to split. required: true type: str
_value: description: - A dictionary with components as keyword and their value. - If O(query) is provided, a string or integer will be returned instead, depending on O(query). type: any