You have two options.
1) Create a new Symlink using file .
- name: Create symlink file: src=/path/to/symlink dest=/new/path/to/symlink state=link
2) Run your working command to copy the symbolic link using the shell , it will do the same.
- name: Create symlink shell: cp -d /path/to/symlink /new/path/to/symlink
source share