|
|
@ -14,11 +14,8 @@
|
|
|
|
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
|
|
|
|
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
|
|
|
|
force_source: "{{ matrix_mautrix_signal_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
|
|
|
|
force_source: "{{ matrix_mautrix_signal_docker_image_force_pull if ansible_version.major > 2 or ansible_version.minor >= 8 else omit }}"
|
|
|
|
force: "{{ omit if ansible_version.major > 2 or ansible_version.minor >= 8 else matrix_mautrix_signal_docker_image_force_pull }}"
|
|
|
|
force: "{{ omit if ansible_version.major > 2 or ansible_version.minor >= 8 else matrix_mautrix_signal_docker_image_force_pull }}"
|
|
|
|
# pull:
|
|
|
|
|
|
|
|
# platform: "{{ matrix_architecture }}"
|
|
|
|
|
|
|
|
when: "matrix_mautrix_signal_enabled|bool and not matrix_mautrix_signal_container_self_build|bool"
|
|
|
|
when: "matrix_mautrix_signal_enabled|bool and not matrix_mautrix_signal_container_self_build|bool"
|
|
|
|
register: matrix_mautrix_signal_pull_results
|
|
|
|
|
|
|
|
ignore_errors: yes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Ensure Mautrix Signal repository is present on self-build
|
|
|
|
- name: Ensure Mautrix Signal repository is present on self-build
|
|
|
|
git:
|
|
|
|
git:
|
|
|
@ -26,7 +23,7 @@
|
|
|
|
dest: "{{ matrix_mautrix_signal_docker_src_files_path }}"
|
|
|
|
dest: "{{ matrix_mautrix_signal_docker_src_files_path }}"
|
|
|
|
force: "yes"
|
|
|
|
force: "yes"
|
|
|
|
register: matrix_mautrix_signal_git_pull_results
|
|
|
|
register: matrix_mautrix_signal_git_pull_results
|
|
|
|
when: "matrix_mautrix_signal_enabled|bool and (matrix_mautrix_signal_container_self_build|bool or matrix_mautrix_signal_pull_results is failed)"
|
|
|
|
when: "matrix_mautrix_signal_enabled|bool and matrix_mautrix_signal_container_self_build|bool"
|
|
|
|
|
|
|
|
|
|
|
|
- name: Ensure Mautrix Signal image is built
|
|
|
|
- name: Ensure Mautrix Signal image is built
|
|
|
|
docker_image:
|
|
|
|
docker_image:
|
|
|
|