mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 12:35:51 +00:00
563cf1a4ba
main.yml is not included due to that its changed separately.
10 lines
306 B
YAML
10 lines
306 B
YAML
---
|
|
|
|
- name: Fail if required 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"
|
|
when: "vars[item] == '' or vars[item] is none"
|