|
|
|
@ -14,6 +14,24 @@
|
|
|
|
|
source: "{{ 'pull' if ansible_version.major > 2 or ansible_version.minor > 7 else omit }}"
|
|
|
|
|
force_source: "{{ matrix_mautrix_hangouts_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_hangouts_docker_image_force_pull }}"
|
|
|
|
|
when: matrix_mautrix_hangouts_enabled|bool and not matrix_raspberry_pi
|
|
|
|
|
|
|
|
|
|
- name: Ensure Mautrix Hangots repository is present on Raspberry pi
|
|
|
|
|
git:
|
|
|
|
|
repo: https://github.com/tulir/mautrix-hangouts.git
|
|
|
|
|
dest: "{{ matrix_docker_mautrix_hangouts_src_files_path }}"
|
|
|
|
|
force: "yes"
|
|
|
|
|
when: "matrix_mautrix_hangouts_enabled|bool and matrix_raspberry_pi"
|
|
|
|
|
|
|
|
|
|
- name: Ensure Mautrix Hangouts Docker image is build (Raspberry pi)
|
|
|
|
|
docker_image:
|
|
|
|
|
name: "{{ matrix_mautrix_hangouts_docker_image }}"
|
|
|
|
|
source: build
|
|
|
|
|
build:
|
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
|
path: "{{ matrix_docker_mautrix_hangouts_src_files_path }}"
|
|
|
|
|
pull: yes
|
|
|
|
|
when: "matrix_mautrix_hangouts_enabled|bool and matrix_raspberry_pi"
|
|
|
|
|
|
|
|
|
|
- name: Ensure Mautrix Hangouts paths exist
|
|
|
|
|
file:
|
|
|
|
|