DOCUMENTATION:
  name: realpath
  author: darkone23 (@darkone23)
  version_added: "1.8"
  short_description: Turn path into real path
  description:
    - Resolves/follows symliknks to return the 'real path' from a given path.
    - Filters alwasy run on controller so this path is resolved using the controller's filesystem.
  options:
    _input:
      description: A path.
      type: path
      required: true
EXAMPLES: |

  realpath: {{ '/path/to/synlink' | realpath }}

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