ansible / ansible.builtin / v2.16.0 / filter / splitext split a path into root and file extension | "added in version" 2.0 of ansible.builtin" Authors: Matt Martz (@sivel)ansible.builtin.splitext (v2.16.0) — filter
pip
Install with pip install ansible-core==2.16.0
Returns a list of two, with the elements consisting of filename root and extension.
_input: description: A path. required: true type: str
_value: description: A list consisting of root of the path and the extension. elements: str type: list