ansible-role-mumble/handlers/main.yml

36 lines
874 B
YAML
Raw Normal View History

2020-05-21 22:15:33 +02:00
- name: reload systemd
systemd:
daemon_reload: yes
register: systemd_reloaded
2020-06-14 14:01:16 +02:00
- name: restart murmur
service:
name: mumble-server
state: restarted
when:
- not (murmur_started.changed | default(false))
2020-05-21 22:15:33 +02:00
- name: reload mumble-web
service:
name: mumble-web
state: reloaded
when:
- not (mumble_web_started.changed | default(false))
2021-03-28 10:48:06 +02:00
- name: reload caddy
service:
name: caddy
state: reloaded
2020-06-14 16:20:28 +02:00
- 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
- name: create murmur channels
command:
cmd: ./mice.py -c {{ murmur_ice_config_path | quote }}
chdir: "{{ murmur_ice_script_dir }}"
environment:
MICE_SECRET: "{{ murmur_ice_secret_write }}"