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