mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-18 13:14:52 +00:00
11 lines
372 B
YAML
11 lines
372 B
YAML
---
|
|
|
|
- name: Fail if required matrix-bot-draupnir variables are undefined
|
|
ansible.builtin.fail:
|
|
msg: "The `{{ item }}` variable must be defined and have a non-null value."
|
|
with_items:
|
|
- "matrix_bot_draupnir_access_token"
|
|
- "matrix_bot_draupnir_management_room"
|
|
- "matrix_bot_draupnir_container_network"
|
|
when: "vars[item] == '' or vars[item] is none"
|