murmur: multiline welcome text and channels' config as a variable
parent
26fa2cb9ad
commit
bc0cb0139f
|
@ -98,6 +98,48 @@ murmur_client_certificate_required: no
|
|||
murmur_send_server_version: yes
|
||||
murmur_ice_warn_unknown_properties: yes
|
||||
murmur_ice_message_size_max: 65536
|
||||
murmur_channels:
|
||||
- name: Root
|
||||
description: Root channel. No entry.
|
||||
groups:
|
||||
admin:
|
||||
inherit: true
|
||||
inheritable: true
|
||||
permissions:
|
||||
- group: all
|
||||
deny:
|
||||
- Enter
|
||||
recursive: false
|
||||
enabled: true
|
||||
- group: all
|
||||
allow:
|
||||
- RegisterSelf
|
||||
- MakeTempChannel
|
||||
- group: admin
|
||||
allow:
|
||||
- MuteDeafen
|
||||
- Move
|
||||
- Kick
|
||||
- Ban
|
||||
- Register
|
||||
- name: Welcome
|
||||
parent: Root
|
||||
description: Welcome channel
|
||||
position: 0
|
||||
isdefault: true
|
||||
- name: Silent
|
||||
parent: Root
|
||||
description: Silent channel
|
||||
position: 1
|
||||
permissions:
|
||||
- group: all
|
||||
deny:
|
||||
- Speak
|
||||
- MakeTempChannel
|
||||
enabled: true
|
||||
- group: admin
|
||||
allow:
|
||||
- MakeTempChannel
|
||||
|
||||
umurmur_enabled: no
|
||||
umurmur_domain: "{{ mumble_domain }}"
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
|
||||
- name: Copy mice config
|
||||
copy:
|
||||
src: murmur/mice.yml
|
||||
content: "{{ murmur_channels | to_nice_yaml(indent=2) }}"
|
||||
dest: "{{ murmur_ice_config_path }}"
|
||||
owner: root
|
||||
group: root
|
||||
|
|
|
@ -140,7 +140,11 @@ pidfile={{ murmur_pid_file | to_json }}
|
|||
; Welcome message sent to clients when they connect.
|
||||
; If the welcome message is set to an empty string,
|
||||
; no welcome message will be sent to clients.
|
||||
{% if murmur_welcome_text is string %}
|
||||
welcometext={{ murmur_welcome_text | to_json }}
|
||||
{% else %}
|
||||
welcometext = {{ murmur_welcome_text | join('<br />') | to_json }};
|
||||
{% endif %}
|
||||
|
||||
; Port to bind TCP and UDP sockets to.
|
||||
port={{ murmur_port }}
|
||||
|
|
Loading…
Reference in New Issue