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