1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00
matrix-docker-ansible-deploy/roles/custom/matrix-bridge-sms/tasks/validate_config.yml

19 lines
677 B
YAML
Raw Normal View History

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