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

Returns a path with C(~) translation.

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

Authors: ansible core team

Install Ansible via pip

Install with pip install ansible-core==2.16.0

Description

Translates C(~) in a path to the proper user's home directory.

Inputs

    
_input:
    description: A string that contains a path.
    required: true
    type: path

Outputs

_value:
  description: The translated path.
  type: path