Ansible: create symlink based on whether a file exists or not
I want to create a symlink (soft link) based on whether a file exists or not. I am using the when/register to try and achieve this but I guess I’m doing something wrong. Here’s my playbook;