added toggle to no_log

This commit is contained in:
Virgile Retault 2022-07-21 19:09:15 +02:00
parent c8e442e4a9
commit aee4055a3f

View file

@ -12,7 +12,7 @@
owner: bridge_telegram_user
local: C
template: template0
no_log: true
no_log: {{ enable_no_log | default('true') }}
- name: Install dependencies
apt:
@ -75,7 +75,7 @@
group: nogroup
mode: '0600'
notify: Restart the telegram bridge
no_log: true
no_log: {{ enable_no_log | default('true') }}
- name: Ensure the log directory exists
file:
@ -93,7 +93,7 @@
chdir: /opt/mautrix-telegram
creates: /opt/mautrix-telegram/registration.yaml
notify: Restart synapse
no_log: true
no_log: {{ enable_no_log | default('true') }}
- name: Ensure the registration directory exists
file: