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_domain: "{{ mumble_web_domain }}"
murmur_enabled: yes murmur_enabled: yes
# murmur_superuser_password: "supersecret"
murmur_database: murmur_database:
path: "/var/lib/mumble-server/mumble-server.sqlite" path: "/var/lib/mumble-server/mumble-server.sqlite"
# driver: "QMYSQL" # driver: "QMYSQL"

View File

@ -27,4 +27,7 @@
- not (mumble_web_started.changed | default(false)) - not (mumble_web_started.changed | default(false))
- name: reload nginx - name: reload nginx
include_tasks: ../handlers/nginx.yml 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 enabled: yes
state: started state: started
# TODO: Handle superuser password - name: Write superuser password to a file
copy:
# - name: Write superuser password to a file content: "{{ murmur_superuser_password }}"
# copy: dest: /etc/mumble-server.secret
# content: "{{ murmur_superuser_password }}" owner: root
# dest: /etc/mumble-superuser group: root
# owner: root mode: "600"
# group: root when: murmur_superuser_password is defined
# mode: "600" notify: change murmur superuser password
# 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