forked from cps-deployments/psi.bec
Set core.sharedRepository
This might not be compatible with admin scripts that change ownership/permissions on different beamlines
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user