Ei kuvausta
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.yml 1.1KB

12345678910111213141516171819202122232425
  1. matrix_subdomain: "matrix"
  2. matrix_domain: "{{ matrix_subdomain }}.{{ domain }}"
  3. riot_version: "1.0.3"
  4. riot_release: "https://github.com/vector-im/riot-web/releases/download/v{{ riot_version }}/riot-v{{ riot_version }}.tar.gz"
  5. secret_root: '{{ inventory_dir | realpath }}'
  6. secret_name: 'secret'
  7. secret: '{{ secret_root + "/" + secret_name }}'
  8. synapse_admin: "{{ admin_email }}"
  9. synapse_registration_secret: "{{ lookup('password', secret + '/' + 'synapse_registration_secret length=32 chars=ascii_letters,digits') }}"
  10. synapse_pw_pepper: "{{ lookup('password', secret + '/' + 'synapse_pw_pepper length=32 chars=ascii_letters,digits') }}"
  11. synapse_accounts:
  12. - name: "{{ main_user_name }}"
  13. password: "{{ lookup('password', secret + '/' + 'matrix_main_user_password length=32') }}"
  14. synapse_db_username: synapseuser
  15. synapse_db_password: "{{ lookup('password', secret + '/' + 'synapse_db_password length=32') }}"
  16. synapse_db_database: synapse
  17. # must match values in roles/common
  18. db_admin_username: 'postgres'
  19. db_admin_password: "{{ lookup('password', secret + '/' + 'db_admin_password length=32') }}"