add ssl-cert group for mumble-server user

1-install-murmur-server
HgO 2020-06-14 14:21:50 +02:00
parent 8ae266b3c5
commit 5f25887e6a
3 changed files with 12 additions and 2 deletions

View File

@ -20,7 +20,7 @@ murmur_database:
# port: 3306 # port: 3306
# prefix: "murmur_" # prefix: "murmur_"
murmur_ice: "tcp -h 127.0.0.1 -p 6502" murmur_ice: "tcp -h 127.0.0.1 -p 6502"
# murmur_icesecret_read: "somesecret" # murmur_ice_secret_read: "somesecret"
# murmur_ice_secret_write: "anothersecret" # murmur_ice_secret_write: "anothersecret"
murmur_autoban_attempts: 10 murmur_autoban_attempts: 10
murmur_autoban_timeframe: 120 murmur_autoban_timeframe: 120

View File

@ -4,6 +4,16 @@
state: present state: present
register: murmur_installed register: murmur_installed
- name: Append ssl-cert group to {{ murmur_owner }} user
user:
name: "{{ murmur_owner }}"
state: present
groups:
- "{{ acme_ssl_group }}"
append: yes
system: yes
notify: restart murmur
- name: Copy Murmur config file - name: Copy Murmur config file
template: template:
src: mumble-server.ini.j2 src: mumble-server.ini.j2

View File

@ -94,7 +94,7 @@ icesecretread={{ murmur_ice_secret_read | to_json }}
{% if murmur_ice_secret_write is defined %} {% if murmur_ice_secret_write is defined %}
icesecretwrite={{ murmur_ice_secret_write | to_json }} icesecretwrite={{ murmur_ice_secret_write | to_json }}
{% else %} {% else %}
icesecretwrite= ;icesecretwrite=
{% endif %} {% endif %}
; If you want to expose Murmur's experimental gRPC API, you ; If you want to expose Murmur's experimental gRPC API, you