Commit 7fe7a926 authored by ulif's avatar ulif 🐻

Undo setting for recording.

These vars make things more complicated.
parent 4bc13c61
...@@ -13,8 +13,6 @@ ...@@ -13,8 +13,6 @@
- name: Apply local BBB configuration - name: Apply local BBB configuration
hosts: bigbluebutton hosts: bigbluebutton
become: yes become: yes
vars:
enable_recording: false
tasks: tasks:
- name: We are alive - name: We are alive
debug: debug:
...@@ -48,23 +46,23 @@ ...@@ -48,23 +46,23 @@
# #
# recording # recording
# #
- name: disable recording button - name: enable/disable recording button
lineinfile: lineinfile:
path: /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties path: /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
regexp: '^allowStartStopRecording=.*' regexp: '^allowStartStopRecording=.*'
line: 'allowStartStopRecording={{ enable_recording }}' line: 'allowStartStopRecording=false'
- name: disable recording auto start - name: enable/disable recording auto start
lineinfile: lineinfile:
path: /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties path: /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
regexp: '^autoStartRecording=.*' regexp: '^autoStartRecording=.*'
line: 'autoStartRecording=true' line: 'autoStartRecording=false'
- name: disable recording generally, even if record param in api set to record - name: disable/enable recording generally, even if record param in api set to record
lineinfile: lineinfile:
path: /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties path: /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties
regexp: '^disableRecordingDefault=.*' regexp: '^disableRecordingDefault=.*'
line: 'disableRecordingDefault=false' line: 'disableRecordingDefault=true'
# #
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment