matrix-docker-ansible-deploy/roles/matrix-bot-matrix-registration-bot/tasks/validate_config.yml

11 lines
299 B
YAML
Raw Normal View History

---
- name: Fail if required settings not defined
fail:
msg: >-
You need to define a required configuration setting (`{{ item }}`).
when: "vars[item] == ''"
with_items:
- "matrix_bot_matrix_registration_bot_bot_access_token"
- "matrix_bot_matrix_registration_bot_api_token"