mirror of
https://github.com/famedly/ansible-collection-matrix
synced 2024-11-10 13:44:16 +00:00
Generate the registration secret
This commit is contained in:
parent
427c6483be
commit
6a242309f1
1 changed files with 8 additions and 0 deletions
|
@ -10,6 +10,14 @@
|
|||
- uploads
|
||||
- ssl
|
||||
|
||||
- name: Generate registration secret
|
||||
block:
|
||||
- command: /usr/bin/pwgen -sn 84 1
|
||||
register: pwgen
|
||||
- set_fact:
|
||||
matrix_synapse_registration_secret: "{{ pwgen.stdout }}"
|
||||
when: matrix_synapse_registration_secret is not defined
|
||||
|
||||
- name: Deploy config
|
||||
template:
|
||||
src: "homeserver.yaml.j2"
|
||||
|
|
Loading…
Reference in a new issue