Ansible role to install umurmur, the minimalistic Mumble server, and mumble-web client
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-role-mumble/handlers/main.yml

34 lines
866 B

- name: reload systemd
systemd:
daemon_reload: yes
register: systemd_reloaded
- 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
- 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 }}"