ansible / ansible.builtin / v2.15.10 / test / exists does the path exist, follow symlinks | "added in version" 2.5 of ansible.builtin" Authors: Ansible Coreansible.builtin.exists (v2.15.10) — test
pip
Install with pip install ansible-core==2.15.10
Check if the provided path maps to an existing filesystem object on the controller (localhost).
Follows symlinks and checks the target of the symlink instead of the link itself, use the C(link) or C(link_exists) tests to check on the link.
_input: description: a path type: path
_value: description: Returns C(True) if the path corresponds to an existing filesystem object on the controller (after following symlinks), C(False) if otherwise. type: boolean