Activate bec venv in new terminals

This commit is contained in:
2024-08-02 16:19:42 +02:00
parent ea0a3fd921
commit 4034d737b3
+7
View File
@@ -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