mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-06 02:37:31 +01:00
Mautrix telegram minimum config variable requirement
This commit is contained in:
parent
3cd7f097eb
commit
6ef934a416
@ -3,3 +3,10 @@
|
|||||||
The playbook can install and configure [mautrix-telegram](https://github.com/tulir/mautrix-telegram) for you.
|
The playbook can install and configure [mautrix-telegram](https://github.com/tulir/mautrix-telegram) for you.
|
||||||
|
|
||||||
See that project's [documentation](https://github.com/tulir/mautrix-telegram/wiki#usage) to learn what it does and why it might be useful to you.
|
See that project's [documentation](https://github.com/tulir/mautrix-telegram/wiki#usage) to learn what it does and why it might be useful to you.
|
||||||
|
|
||||||
|
You'll need to obtain API keys from `https://my.telegram.org/apps` and then use the following playbook configuration:
|
||||||
|
```
|
||||||
|
matrix_mautrix_telegram_enabled: true
|
||||||
|
matrix_mautrix_telegram_api_id: YOUR_TELEGRAM_APP_ID
|
||||||
|
matrix_mautrix_telegram_api_hash: YOUR_TELEGRAM_API_HASH
|
||||||
|
```
|
||||||
|
@ -63,6 +63,6 @@
|
|||||||
|
|
||||||
- name: Ensure matrix-mautrix-telegram.service doesn't exist
|
- name: Ensure matrix-mautrix-telegram.service doesn't exist
|
||||||
file:
|
file:
|
||||||
path: "{{ role_path }}/templates/systemd/matrix-mautrix-telegram.service"
|
path: "/etc/systemd/system/matrix-mautrix-telegram.service"
|
||||||
state: absent
|
state: absent
|
||||||
when: "not matrix_mautrix_telegram_enabled"
|
when: "not matrix_mautrix_telegram_enabled"
|
||||||
|
Loading…
Reference in New Issue
Block a user