Parcourir la source

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 il y a 3 ans
Parent
révision
7adc167412
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. +5
    -0
      roles/matrix-jitsi/tasks/init.yml

+ 5
- 0
roles/matrix-jitsi/tasks/init.yml Voir le fichier

@@ -3,3 +3,8 @@
- set_fact: - 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'] }}" 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 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'

Chargement…
Annuler
Enregistrer