matrix-docker-ansible-deploy/roles/matrix-bridge-sms/tasks/validate_config.yml

17 lines
553 B
YAML
Raw Normal View History

2020-05-22 11:50:59 +00:00
---
- name: Fail if required settings not defined
fail:
msg: >-
You need to define a required configuration setting (`{{ item }}`).
when: "vars[item] == ''"
with_items:
- "matrix_sms_bridge_appservice_token"
2021-11-16 19:03:21 +00:00
- "matrix_sms_bridge_homeserver_port"
2020-05-22 11:50:59 +00:00
- "matrix_sms_bridge_homeserver_token"
2020-06-11 13:37:46 +00:00
- "matrix_sms_bridge_default_region"
2020-11-23 11:30:39 +00:00
- "matrix_sms_bridge_default_timezone"
- "matrix_sms_bridge_provider_android_baseurl"
- "matrix_sms_bridge_provider_android_username"
- "matrix_sms_bridge_provider_android_password"