diff --git a/tasks/main.yaml b/tasks/main.yaml index af6326f..dec2ff0 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -182,21 +182,11 @@ - name: Clear token from git remote url in BEC plugins become_user: "{{ deployment_user }}" ansible.builtin.command: - cmd: git remote set-url origin git@gitea.psi.ch:bec/{{ item.key }}.git + cmd: git remote set-url origin https://gitea.psi.ch/bec/{{ item.key }}.git chdir: "{{ timestamped_deployment_path }}/{{ item.key }}" loop: "{{ bec_plugins | dict2items }}" when: not ansible_check_mode -- name: Set core.sshCommand in git repositories of plugins - become_user: "{{ deployment_user }}" - community.general.git_config: - name: core.sshCommand - value: ssh -i {{ deployment_path_prefix }}/bec_deploy_id - scope: local - repo: "{{ timestamped_deployment_path }}/{{ item.key }}" - loop: "{{ bec_plugins | dict2items }}" - when: not ansible_check_mode - - name: Create user branches in git repositories of plugins become_user: "{{ deployment_user }}" ansible.builtin.command: