Ansible : create a relative symlink
Simply:
- name: Create symbolic link
file:
src: "{{SOURCE_FOLDER}}"
dest: "/opt/application/i99/SYMLINK"
state: link
As you can see in the manual for the file
module:
src
Will accept absolute, relative and nonexisting paths. Relative paths are not expanded.