setup murmur superuser password

1-install-murmur-server
HgO 2020-06-14 16:20:28 +02:00
parent 5f25887e6a
commit 98fee2ebac
3 changed files with 14 additions and 16 deletions

View File

@ -11,6 +11,7 @@ mumble_web_websockify_port: "64737"
murmur_domain: "{{ mumble_web_domain }}"
murmur_enabled: yes
# murmur_superuser_password: "supersecret"
murmur_database:
path: "/var/lib/mumble-server/mumble-server.sqlite"
# driver: "QMYSQL"

View File

@ -28,3 +28,6 @@
- name: reload nginx
include_tasks: ../handlers/nginx.yml
- name: change murmur superuser password
command: murmurd -ini /etc/mumble-server.ini -supw "{{ murmur_superuser_password }}"

View File

@ -29,18 +29,12 @@
enabled: yes
state: started
# TODO: Handle superuser password
# - name: Write superuser password to a file
# copy:
# content: "{{ murmur_superuser_password }}"
# dest: /etc/mumble-superuser
# owner: root
# group: root
# mode: "600"
# when: murmur_superuser_password is defined
# notify: set superuser password
# - name: set superuser password
# command: murmurd -ini /etc/mumble-server.ini -supw "{{ murmur_superuser_password }}"
# failed_when: False
- name: Write superuser password to a file
copy:
content: "{{ murmur_superuser_password }}"
dest: /etc/mumble-server.secret
owner: root
group: root
mode: "600"
when: murmur_superuser_password is defined
notify: change murmur superuser password