forked from cps-deployments/psi.bec
Activate bec venv in new terminals
This commit is contained in:
@@ -158,3 +158,10 @@
|
||||
src: "{{ bec_path }}"
|
||||
dest: "{{ bec_path }}/../bec_deployment"
|
||||
state: link
|
||||
|
||||
- name: Activate bec venv in new terminals
|
||||
become_user: "{{ bec_user }}"
|
||||
ansible.builtin.blockinfile:
|
||||
path: ~/.bashrc
|
||||
marker: "# {mark} ANSIBLE MANAGED BLOCK (activate bec venv)"
|
||||
block: source {{ bec_venv_path }}/bin/activate
|
||||
|
||||
Reference in New Issue
Block a user