ansible.builtin.normpath (v2.16.0) — filter

Normalize a pathname

| "added in version" 2.15 of ansible.builtin"

Authors: Shivam Durgbuns

Install Ansible via pip

Install with pip install ansible-core==2.16.0

Description

Returns the normalized pathname by collapsing redundant separators and up-level references.

Inputs

    
_input:
    description: A path.
    required: true
    type: path

Outputs

_value:
  description: The normalized path from the path given.
  type: path

See also