chatbridge/roles/chatbridge/tasks/checks.yml

15 lines
754 B
YAML

- name: check that mandatory variables are correctly defined
assert:
quiet: yes
that: "{{ item }}"
fail_msg: "One or more variables are not correctly defined. Check role documentation: https://gitlab.com/nodiscc/xsrv/-/tree/master/roles/matrix_synapse"
with_items:
- chatbridge_postgres_password is not search("CHANGEME")
- chatbridge_base_url is not search("CHANGEME")
- chatbridge_admin_token is not search("CHANGEME")
- chatbridge_slack_client_id is not search("CHANGEME")
- chatbridge_slack_client_secret is not search("CHANGEME")
- chatbridge_discord_token is not search("CHANGEME")
- chatbridge_discord_client_id is not search("CHANGEME")
- chatbridge_discord_client_secret is not search("CHANGEME")