mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-14 10:04:46 +08:00
Make maubot automatically create its own user.
This commit is contained in:
parent
2fd1c73c38
commit
a508d2a069
@ -27,9 +27,17 @@ maubot administration interface.
|
||||
After configuring the playbook, run the [installation](installing.md) command again:
|
||||
|
||||
```
|
||||
ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,start
|
||||
ansible-playbook -i inventory/hosts setup.yml --tags=setup-all,ensure-matrix-users-created,start
|
||||
```
|
||||
|
||||
**Notes**:
|
||||
|
||||
- the `ensure-matrix-users-created` playbook tag makes the playbook automatically create the bot's user account
|
||||
|
||||
- if you change the bot password (`matrix_bot_maubot_initial_password` in your `vars.yml` file) subsequently,
|
||||
the bot user's credentials on the homeserver won't be updated automatically.
|
||||
If you'd like to change the bot user's password, use a tool like [synapse-admin](configuring-playbook-synapse-admin.md) to change it.
|
||||
|
||||
## Usage
|
||||
|
||||
You can visit `matrix.<your-domain>/_matrix/maubot/` to manage your available plugins, clients and instances.
|
||||
|
@ -5174,6 +5174,12 @@ matrix_user_creator_users_auto: |
|
||||
'initial_password': matrix_bot_buscarron_password,
|
||||
'initial_type': 'bot',
|
||||
}] if matrix_bot_buscarron_enabled else [])
|
||||
+
|
||||
([{
|
||||
'username': matrix_bot_maubot_login,
|
||||
'initial_password': matrix_bot_maubot_initial_password,
|
||||
'initial_type': 'bot',
|
||||
}] if matrix_bot_maubot_enabled else [])
|
||||
}}
|
||||
|
||||
######################################################################
|
||||
|
@ -5,6 +5,11 @@
|
||||
|
||||
matrix_bot_maubot_enabled: true
|
||||
|
||||
matrix_bot_maubot_login: bot.maubot
|
||||
# This is just initial password and it will not manage subsequent password changes.
|
||||
# Use a tool like synapse-admin if you need to change it.
|
||||
matrix_bot_maubot_initial_password: "{{ lookup('password', '/dev/null', length=64 }}"
|
||||
|
||||
matrix_bot_maubot_scheme: https
|
||||
matrix_bot_maubot_hostname: ''
|
||||
matrix_bot_maubot_path_prefix: /_matrix/maubot
|
||||
|
Loading…
Reference in New Issue
Block a user