Matrix Docker Ansible eploy
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

25 righe
952 B

  1. #!/usr/bin/env bash
  2. # This is a bash script for generating strong passwords for the Jitsi role in this ansible project:
  3. # https://github.com/spantaleev/matrix-docker-ansible-deploy
  4. function generatePassword() {
  5. openssl rand -hex 16
  6. }
  7. echo "# If this script fails, it's likely because you don't have the openssl tool installed."
  8. echo "# Install it before using this script, or simply create your own passwords manually."
  9. echo ""
  10. JICOFO_AUTH_PASSWORD=$(generatePassword)
  11. JVB_AUTH_PASSWORD=$(generatePassword)
  12. JIBRI_RECORDER_PASSWORD=$(generatePassword)
  13. JIBRI_XMPP_PASSWORD=$(generatePassword)
  14. echo "# Paste these variables into your inventory/host_vars/matrix.DOMAIN/vars.yml file:"
  15. echo ""
  16. echo "matrix_jitsi_jicofo_auth_password: "$JICOFO_AUTH_PASSWORD
  17. echo "matrix_jitsi_jvb_auth_password: "$JVB_AUTH_PASSWORD
  18. echo "matrix_jitsi_jibri_recorder_password: "$JIBRI_RECORDER_PASSWORD
  19. echo "matrix_jitsi_jibri_xmpp_password: "$JIBRI_XMPP_PASSWORD