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