added toggle to no_log

This commit is contained in:
Virgile Retault 2022-07-21 19:07:51 +02:00
parent 89fb99ebb7
commit 950badac37

View file

@ -12,7 +12,7 @@
owner: bridge_facebook_user
local: C
template: template0
no_log: true
no_log: "{{ enable_no_log | default('true') }}"
- name: Install dependencies
apt:
@ -71,7 +71,7 @@
group: nogroup
mode: '0600'
notify: Restart the facebook bridge
no_log: true
no_log: "{{ enable_no_log | default('true') }}"
- name: Generate facebook-registration.yaml
become: yes
@ -81,7 +81,7 @@
chdir: /opt/mautrix-facebook
creates: /opt/mautrix-facebook/registration.yaml
notify: Restart synapse
no_log: true
no_log: "{{ enable_no_log | default('true') }}"
- name: Copy config for synapse
file: