36 lines
941 B
YAML
36 lines
941 B
YAML
- name: reload systemd
|
|
systemd:
|
|
daemon_reload: yes
|
|
register: systemd_reloaded
|
|
|
|
# In order to take into account rooms config changes, umurmur must be restarted.
|
|
# A simple reload won't work for rooms positionning, for instance.
|
|
- name: restart umurmur
|
|
service:
|
|
name: umurmur
|
|
state: restarted
|
|
when:
|
|
- not (umurmur_started.changed | default(false))
|
|
|
|
- name: restart murmur
|
|
service:
|
|
name: mumble-server
|
|
state: restarted
|
|
when:
|
|
- not (murmur_started.changed | default(false))
|
|
|
|
- name: reload mumble-web
|
|
service:
|
|
name: mumble-web
|
|
state: reloaded
|
|
when:
|
|
- not (mumble_web_started.changed | default(false))
|
|
|
|
- name: reload nginx
|
|
include_tasks: ../handlers/nginx.yml
|
|
|
|
- name: change murmur superuser password
|
|
command: murmurd -ini /etc/mumble-server.ini -supw "{{ murmur_superuser_password }}"
|
|
# See https://github.com/mumble-voip/mumble/issues/3911
|
|
# Should be fixed in 1.3.1
|
|
failed_when: no |