Просмотр исходного кода

Fail if trying to use Jitsi on an architecture other than amd64

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1797
pull/1837/head
Slavi Pantaleev 3 лет назад
Родитель
Сommit
7adc167412
1 измененных файлов: 5 добавлений и 0 удалений
  1. +5
    -0
      roles/matrix-jitsi/tasks/init.yml

+ 5
- 0
roles/matrix-jitsi/tasks/init.yml Просмотреть файл

@@ -3,3 +3,8 @@
- set_fact:
matrix_systemd_services_list: "{{ matrix_systemd_services_list + ['matrix-jitsi-web.service', 'matrix-jitsi-prosody.service', 'matrix-jitsi-jicofo.service', 'matrix-jitsi-jvb.service'] }}"
when: matrix_jitsi_enabled|bool

- name: Fail if on an unsupported architecture
fail:
msg: "Jitsi only supports the amd64 architecture right now. See https://github.com/jitsi/docker-jitsi-meet/issues/1069 and https://github.com/jitsi/docker-jitsi-meet/issues/1214"
when: matrix_jitsi_enabled|bool and matrix_architecture != 'amd64'

Загрузка…
Отмена
Сохранить