Accept bec_deployments_path and deploy in timestamped folder

This commit is contained in:
2024-08-02 18:45:11 +02:00
parent da722431d7
commit aa44145fb0
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
---
bec_user: bec
bec_path: /opt/bec_deployment
bec_deployments_path: /opt/bec_deployments
bec_version: main
ophyd_devices_version: main
+1 -1
View File
@@ -156,7 +156,7 @@
become_user: "{{ bec_user }}"
ansible.builtin.file:
src: "{{ bec_path }}"
dest: "{{ bec_path }}/../bec_deployment"
dest: "{{ bec_deployments_path }}/bec_deployment"
state: link
- name: Activate bec venv in new terminals
+1
View File
@@ -1,3 +1,4 @@
---
bec_path: "{{ bec_deployments_path }}/bec_deployment_{{ ansible_date_time['iso8601_basic_short'] }}"
bec_venv_path: "{{ bec_path }}/bec_venv"
bec_user_branch_name: "{{ bec_user }}_{{ ansible_date_time['iso8601_basic_short'] }}"