mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-26 10:58:30 +01:00
c6858d2a08
This is more explicit than hiding it in the role defaults. People who reuse the roles in their own playbook (and not only) may incorrectly define `ansible_host` to be a hostname or some local address. Making it more explicit is more likely to prevent such mistakes.
11 lines
302 B
YAML
11 lines
302 B
YAML
---
|
|
|
|
- name: Fail if required Coturn settings not defined
|
|
fail:
|
|
msg: >
|
|
You need to define a required configuration setting (`{{ item }}`) for using Coturn.
|
|
when: "vars[item] == ''"
|
|
with_items:
|
|
- "matrix_coturn_turn_external_ip_address"
|
|
- "matrix_coturn_turn_static_auth_secret"
|