Parcourir la source

Fixed unnecessary checking of user attributes, added check for matrix_jitsi_enable_auth boolean

pull/1446/head
ppacheco28 il y a 4 ans
Parent
révision
0c101f20c4
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. +4
    -4
      roles/matrix-jitsi/tasks/validate_config.yml

+ 4
- 4
roles/matrix-jitsi/tasks/validate_config.yml Voir le fichier

@@ -34,10 +34,10 @@
it means that your installation is most likely using default passwords previously defined by the playbook. it means that your installation is most likely using default passwords previously defined by the playbook.
These defaults are insecure. Jitsi should be rebuilt with secure values. These defaults are insecure. Jitsi should be rebuilt with secure values.
Refer to the "Rebuilding your Jitsi installation" section in our setup instructions (docs/configuring-playbook-jitsi.md). Refer to the "Rebuilding your Jitsi installation" section in our setup instructions (docs/configuring-playbook-jitsi.md).
when:
- matrix_jitsi_auth_type == "internal"
- item.username == ''
- item.password == ''
when:
- matrix_jitsi_enable_auth|bool
- matrix_jitsi_auth_type == 'internal'
- matrix_jitsi_prosody_auth_internal_accounts|length == '0'
with_items: "{{ matrix_jitsi_prosody_auth_internal_accounts }}" with_items: "{{ matrix_jitsi_prosody_auth_internal_accounts }}"






Chargement…
Annuler
Enregistrer