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 owner: bridge_facebook_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:
@ -71,7 +71,7 @@
group: nogroup group: nogroup
mode: '0600' mode: '0600'
notify: Restart the facebook bridge notify: Restart the facebook bridge
no_log: true no_log: "{{ enable_no_log | default('true') }}"
- name: Generate facebook-registration.yaml - name: Generate facebook-registration.yaml
become: yes become: yes
@ -81,7 +81,7 @@
chdir: /opt/mautrix-facebook chdir: /opt/mautrix-facebook
creates: /opt/mautrix-facebook/registration.yaml creates: /opt/mautrix-facebook/registration.yaml
notify: Restart synapse notify: Restart synapse
no_log: true no_log: "{{ enable_no_log | default('true') }}"
- name: Copy config for synapse - name: Copy config for synapse
file: file: