11 lines
315 B
YAML
11 lines
315 B
YAML
---
|
|
|
|
- name: Fail if required settings not defined
|
|
ansible.builtin.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"
|