added toggle to no_log

This commit is contained in:
Virgile Retault 2022-07-21 19:08:39 +02:00
parent bc19f20070
commit 355f127465

View file

@ -12,7 +12,7 @@
owner: bridge_discor_user
local: C
template: template0
no_log: true
no_log: {{ enable_no_log | default('true') }}
- name: Install dependencies
apt:
@ -67,7 +67,7 @@
group: root
mode: '0660'
notify: Restart the discord bridge
no_log: true
no_log: {{ enable_no_log | default('true') }}
- name: Generate discord-registration.yaml
shell:
@ -75,7 +75,7 @@
chdir: /srv/matrix-appservice-discord
creates: /srv/matrix-appservice-discord/discord-registration.yaml
notify: Restart synapse
no_log: true
no_log: {{ enable_no_log | default('true') }}
- name: Copy config for synapse
file: