Move matrix-appservice-discord into a separate role

This commit is contained in:
Slavi Pantaleev
2019-05-18 01:14:12 +09:00
parent 13c4e7e5b6
commit 663d1add92
12 changed files with 196 additions and 160 deletions

View File

@@ -0,0 +1,10 @@
---
- name: Fail if required settings not defined
fail:
msg: >-
You need to define a required configuration setting (`{{ item }}`).
when: "vars[item] == ''"
with_items:
- "matrix_appservice_discord_client_id"
- "matrix_appservice_discord_bot_token"