Skip to content

Commit

Permalink
create symlink to scripts dir if defined
Browse files Browse the repository at this point in the history
  • Loading branch information
rkm committed Nov 7, 2024
1 parent 2258ae8 commit 761c91f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions roles/envs/tasks/deploy_env_dir.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,10 @@
requirements: "{{ env_vars.semehr_venv_requirements }}"
virtualenv: "{{ env_dir }}/venvs/semehr"
when: env_vars.semehr_venv_requirements is defined

- name: Symlink scripts dir
ansible.builtin.file:
src: "{{ env_vars.scripts_dir }}"
dest: "{{ env_dir }}/scripts"
state: link
when: env_vars.scripts_dir is defined

0 comments on commit 761c91f

Please sign in to comment.