ansible / ansible.builtin / v2.15.2 / filter / win_basename Get a Windows path's base name | "added in version" 2.0 of ansible.builtin" Authors: ansible core teamansible.builtin.win_basename (v2.15.2) — filter
pip
Install with pip install ansible-core==2.15.2
Returns the last name component of a Windows path, what is left in the string that is not 'win_dirname'.
_input: description: A Windows path. required: true type: str
_value: description: The base name from the Windows path provided. type: str