added toggle to no_log

This commit is contained in:
Virgile Retault 2022-07-21 19:09:00 +02:00
parent 70675bec04
commit 4166832cb2

View file

@ -12,7 +12,7 @@
owner: bridge_instagram_user
local: C
template: template0
no_log: true
no_log: "{{ enable_no_log | default('true') }}"
- name: Install dependencies
apt:
@ -75,7 +75,7 @@
group: nogroup
mode: '0600'
notify: Restart the instagram bridge
no_log: true
no_log: "{{ enable_no_log | default('true') }}"
- name: Generate instagram-registration.yaml
become: yes
@ -85,7 +85,7 @@
chdir: /opt/mautrix-instagram
creates: /opt/mautrix-instagram/registration.yaml
notify: Restart synapse
no_log: true
no_log: "{{ enable_no_log | default('true') }}"
- name: Ensure the registration directory exists
file: