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

Turn path into real path

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

Authors: darkone23 (@darkone23)

Install Ansible via pip

Install with pip install ansible-core==2.16.0

Description

Resolves/follows symlinks to return the 'real path' from a given path.

Filters always run on the controller so this path is resolved using the controller's filesystem.

Inputs

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

Outputs

_value:
  description: The canonical path.
  type: path