setup murmur superuser password
parent
5f25887e6a
commit
98fee2ebac
|
@ -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"
|
||||
|
|
|
@ -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 }}"
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue