Change name of 'current' symlink

Hi,

There is a symlink called current, which points to the latest release.
I want to change the name of current to something else. However, I can’t find the part in the script which makes this symlink. Can someone point out where this happens. i.e in which role. So that I can change what is necessary.

Did you try searching?

Yes i did search on ‘current’, but I just don’t seem to find it. I’m obviously overlooking something, but I checked it multiple times.

So you looked here? https://github.com/roots/trellis/search?utf8=✓&q=current

It’s actually not in our codebase. It’s part of Ansible’s deploy_helper. See https://docs.ansible.com/ansible/deploy_helper_module.html.

You can set the current_path option.

1 Like

@nazeemsoeltan not sure if it will get merged but you can see how it’s done here.