diff --git a/tasks/main.yaml b/tasks/main.yaml index f774f11..4250b8e 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -99,6 +99,19 @@ - bec_widgets when: not ansible_check_mode +- name: Set core.sharedRepository in git repositories + become_user: "{{ deployment_user }}" + community.general.git_config: + name: core.sharedRepository + value: group + scope: local + repo: "{{ deployment_path }}/{{ item }}" + loop: + - bec + - ophyd_devices + - bec_widgets + when: not ansible_check_mode + - name: Clone BEC plugins become_user: "{{ deployment_user }}" ansible.builtin.git: @@ -144,6 +157,16 @@ loop: "{{ bec_plugins | dict2items }}" when: not ansible_check_mode +- name: Set core.sharedRepository in git repositories of plugins + become_user: "{{ deployment_user }}" + community.general.git_config: + name: core.sharedRepository + value: group + scope: local + repo: "{{ deployment_path }}/{{ item.key }}" + loop: "{{ bec_plugins | dict2items }}" + when: not ansible_check_mode + - name: Install bec_lib become_user: "{{ deployment_user }}" ansible.builtin.pip: