Checked that there is not already provided the described functionality
Description
Creating symbolic link to attachments directory fails
Steps to Reproduce
Define variable jira_attachments_dir to non-default value (existing directory)
Run role
Expected behavior:
Expected symbolic link to be created.
Actual behavior:
Ansible fails with following error:
fatal: [localhost]: FAILED! => {"changed": false, "gid": 0, "group": "root", "mode": "0755", "msg": "src file does not exist, use \"force=yes\" if you really want to create the link: /var/atlassian/application-data/jira/data/attachments", "owner": "root", "path": "/data/jira/attachments", "size": 4096, "src": "/var/atlassian/application-data/jira/data/attachments", "state": "directory", "uid": 0}
Reproduces how often:
Always
Versions
1.1.0
Additional Information
It seems that "dest" and "src" properties are mixed up in task "Link attachments folder in case not using default one". Currently is like this:
Prerequisites
Description
Creating symbolic link to attachments directory fails
Steps to Reproduce
Expected behavior: Expected symbolic link to be created.
Actual behavior: Ansible fails with following error:
fatal: [localhost]: FAILED! => {"changed": false, "gid": 0, "group": "root", "mode": "0755", "msg": "src file does not exist, use \"force=yes\" if you really want to create the link: /var/atlassian/application-data/jira/data/attachments", "owner": "root", "path": "/data/jira/attachments", "size": 4096, "src": "/var/atlassian/application-data/jira/data/attachments", "state": "directory", "uid": 0}
Reproduces how often: Always
Versions
1.1.0
Additional Information
It seems that "dest" and "src" properties are mixed up in task "Link attachments folder in case not using default one". Currently is like this:
Should be like this: