2019-01-16 16:05:48 +00:00
|
|
|
---
|
|
|
|
|
2024-01-15 09:16:08 +00:00
|
|
|
- name: (Deprecation) Catch and report renamed Coturn settings
|
|
|
|
ansible.builtin.fail:
|
|
|
|
msg: >-
|
|
|
|
Your configuration contains a variable, which now has a different name.
|
|
|
|
Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`).
|
|
|
|
when: "item.old in vars"
|
|
|
|
with_items:
|
|
|
|
- {'old': 'matrix_coturn_docker_network', 'new': 'matrix_coturn_container_network'}
|
|
|
|
|
2019-01-16 16:05:48 +00:00
|
|
|
- name: Fail if required Coturn settings not defined
|
2022-07-18 07:39:08 +00:00
|
|
|
ansible.builtin.fail:
|
2019-05-24 22:41:04 +00:00
|
|
|
msg: >-
|
2019-01-16 16:05:48 +00:00
|
|
|
You need to define a required configuration setting (`{{ item }}`) for using Coturn.
|
|
|
|
when: "vars[item] == ''"
|
|
|
|
with_items:
|
2019-03-18 15:04:40 +00:00
|
|
|
- "matrix_coturn_turn_static_auth_secret"
|