DOCUMENTATION:
  name: realpath
  author: darkone23 (@darkone23)
  version_added: "1.8"
  short_description: Turn path into real path
  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.
  options:
    _input:
      description: A path.
      type: path
      required: true
EXAMPLES: |

  # realpath => /usr/bin/somebinary
  realpath: {{ '/path/to/synlink' | realpath }}

RETURN:
  _value:
    description: The canonical path.
    type: path
