Matrix Docker Ansible eploy
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

18 wiersze
654 B

  1. #jinja2: lstrip_blocks: "True"
  2. #!/bin/bash
  3. if [ $# -ne 3 ]; then
  4. echo "Usage: "$0" <username> <password> <admin access: 0 or 1>"
  5. exit 1
  6. fi
  7. user=$1
  8. password=$2
  9. admin=$3
  10. if [ "$admin" -eq "1" ]; then
  11. {{ devture_systemd_docker_base_host_command_docker }} exec matrix-dendrite create-account -config /data/dendrite.yaml -username "$user" -password "$password" -admin -url http://localhost:{{ matrix_dendrite_http_bind_port }}
  12. else
  13. {{ devture_systemd_docker_base_host_command_docker }} exec matrix-dendrite create-account -config /data/dendrite.yaml -username "$user" -password "$password" -url http://localhost:{{ matrix_dendrite_http_bind_port }}
  14. fi