mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-01-15 12:25:18 +00:00
Initial maubot commit
This commit is contained in:
11
roles/matrix-maubot/tasks/validate_config.yml
Normal file
11
roles/matrix-maubot/tasks/validate_config.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
---
|
||||
|
||||
- name: Fail if required settings not defined
|
||||
fail:
|
||||
msg: >-
|
||||
You need to define a required configuration setting (`{{ item }}`).
|
||||
when: "vars[item] == ''"
|
||||
with_items:
|
||||
- matrix_maubot_secret
|
||||
- matrix_maubot_admin_user
|
||||
- matrix_maubot_admin_password
|
||||
Reference in New Issue
Block a user