ansible / ansible.builtin / v2.16.0 / filter / dirname get a path's directory name | "added in version" historical of ansible.builtin" Authors: ansible core teamansible.builtin.dirname (v2.16.0) — filter
pip
Install with pip install ansible-core==2.16.0
Returns the 'head' component of a path, basically everything that is not the 'basename'.
_input: description: A path. required: true type: path
_value: description: The directory portion of the original path. type: path