added toggle to no_log

master
Virgile Retault 2 years ago
parent c8e442e4a9
commit aee4055a3f

@ -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:

Loading…
Cancel
Save