Set core.sharedRepository

This might not be compatible with admin scripts that change ownership/permissions on different beamlines
This commit is contained in:
2025-08-18 13:56:46 +02:00
parent 06fe37d567
commit fd72fe5b94
+23
View File
@@ -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: