From 4894ea15f1839585ad109ede0e3de8b5b2ef681d Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Tue, 3 Mar 2026 20:04:08 +0900 Subject: [PATCH] Update the task to download the source Reuse https://github.com/spantaleev/matrix-docker-ansible-deploy/blob/2d1be91ac2df9582a81483ca3ed475179678c39c/roles/custom/matrix-client-fluffychat/tasks/setup_install.yml Signed-off-by: Suguru Hirahara --- roles/custom/matrix-client-commet/tasks/setup_install.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/roles/custom/matrix-client-commet/tasks/setup_install.yml b/roles/custom/matrix-client-commet/tasks/setup_install.yml index 8741af5aa..4c81dd5d7 100644 --- a/roles/custom/matrix-client-commet/tasks/setup_install.yml +++ b/roles/custom/matrix-client-commet/tasks/setup_install.yml @@ -32,17 +32,15 @@ when: matrix_client_commet_container_image_self_build | bool and matrix_client_commet_git_remote_check.rc != 0 become: true -- name: Ensure Commet repository is present +- name: Ensure Commet repository is present on self-build ansible.builtin.git: repo: "{{ matrix_client_commet_container_image_self_build_repo }}" dest: "{{ matrix_client_commet_container_src_path }}" version: "{{ matrix_client_commet_version }}" - depth: 1 - force: true + force: "yes" become: true become_user: "{{ matrix_user_name }}" - register: matrix_client_commet_git_result - when: matrix_client_commet_container_image_self_build | bool + register: matrix_client_fluffychat_git_pull_results - name: Capture git hash ansible.builtin.command: