Matrix Docker Ansible eploy
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 

27 satır
1.2 KiB

  1. ---
  2. - name: Fail if required settings not defined
  3. ansible.builtin.fail:
  4. msg: >-
  5. You need to define a required configuration setting (`{{ item }}`).
  6. when: "vars[item] == ''"
  7. with_items:
  8. - "matrix_appservice_discord_client_id"
  9. - "matrix_appservice_discord_bot_token"
  10. - "matrix_appservice_discord_appservice_token"
  11. - "matrix_appservice_discord_homeserver_token"
  12. - "matrix_appservice_discord_homeserver_domain"
  13. - name: (Deprecation) Catch and report renamed appservice-discord variables
  14. ansible.builtin.fail:
  15. msg: >-
  16. Your configuration contains a variable, which now has a different name.
  17. Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`).
  18. when: "item.old in vars"
  19. with_items:
  20. - {'old': 'matrix_appservice_discord_container_expose_client_server_api_port', 'new': '<superseded by matrix_appservice_discord_container_http_host_bind_port>'}
  21. - name: Require a valid database engine
  22. ansible.builtin.fail: msg="`matrix_appservice_discord_database_engine` needs to be either 'sqlite' or 'postgres'"
  23. when: "matrix_appservice_discord_database_engine not in ['sqlite', 'postgres']"