2021-04-11 06:11:45 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: Fail if required settings not defined
|
2022-07-18 07:39:08 +00:00
|
|
|
ansible.builtin.fail:
|
2021-04-11 06:11:45 +00:00
|
|
|
msg: >-
|
|
|
|
You need to define a required configuration setting (`{{ item }}`).
|
|
|
|
when: "vars[item] == ''"
|
|
|
|
with_items:
|
2021-04-11 06:18:31 +00:00
|
|
|
- "matrix_mautrix_twitter_appservice_token"
|
|
|
|
- "matrix_mautrix_twitter_homeserver_token"
|
2022-03-08 06:10:40 +00:00
|
|
|
- "matrix_mautrix_twitter_database_hostname"
|
|
|
|
- "matrix_mautrix_twitter_database_password"
|