mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-23 13:05:47 +00:00
10 lines
288 B
YAML
10 lines
288 B
YAML
---
|
|
|
|
- name: Fail if required variables are undefined
|
|
fail:
|
|
msg: "The `{{ item }}` variable must be defined and have a non-null value."
|
|
with_items:
|
|
- "matrix_bot_mjolnir_access_token"
|
|
- "matrix_bot_mjolnir_management_room"
|
|
when: "vars[item] == '' or vars[item] is none"
|