Initial commit for draupnir.

main.yml is not included due to that its changed separately.
This commit is contained in:
Catalan Lover
2023-02-08 16:44:12 +01:00
parent 49a1985750
commit 563cf1a4ba
6 changed files with 416 additions and 0 deletions

View File

@ -0,0 +1,9 @@
---
- 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"