|
|
|
@@ -32,6 +32,15 @@ |
|
|
|
|
|
|
|
- when: matrix_bridge_wechat_container_image_self_build | bool |
|
|
|
block: |
|
|
|
# A checkout owned by a different user (a uid change, an earlier clone by another user, etc.) would make the git task below fail on ownership or permissions. |
|
|
|
- name: Ensure WeChat Bridge repository ownership is correct on self-build |
|
|
|
ansible.builtin.file: |
|
|
|
path: "{{ matrix_bridge_wechat_container_src_files_path }}" |
|
|
|
state: directory |
|
|
|
owner: "{{ matrix_user_name }}" |
|
|
|
group: "{{ matrix_group_name }}" |
|
|
|
recurse: true |
|
|
|
|
|
|
|
- name: Ensure WeChat Bridge repository is present on self-build |
|
|
|
ansible.builtin.git: |
|
|
|
repo: "{{ matrix_bridge_wechat_container_image_self_build_repo }}" |
|
|
|
@@ -63,6 +72,15 @@ |
|
|
|
|
|
|
|
- when: matrix_bridge_wechat_agent_container_image_self_build | bool |
|
|
|
block: |
|
|
|
# A checkout owned by a different user (a uid change, an earlier clone by another user, etc.) would make the git task below fail on ownership or permissions. |
|
|
|
- name: Ensure WeChat Agent repository ownership is correct on self-build |
|
|
|
ansible.builtin.file: |
|
|
|
path: "{{ matrix_bridge_wechat_agent_container_src_files_path }}" |
|
|
|
state: directory |
|
|
|
owner: "{{ matrix_user_name }}" |
|
|
|
group: "{{ matrix_group_name }}" |
|
|
|
recurse: true |
|
|
|
|
|
|
|
- name: Ensure WeChat Agent repository is present on self-build |
|
|
|
ansible.builtin.git: |
|
|
|
repo: "{{ matrix_bridge_wechat_agent_container_image_self_build_repo }}" |
|
|
|
|