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.
 
 

25 satır
1.1 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_mautrix_facebook_public_endpoint"
  9. - "matrix_mautrix_facebook_appservice_token"
  10. - "matrix_mautrix_facebook_homeserver_token"
  11. - when: "matrix_mautrix_facebook_database_engine == 'sqlite' and matrix_mautrix_facebook_docker_image.endswith(':da1b4ec596e334325a1589e70829dea46e73064b')"
  12. block:
  13. - name: Inject warning if on an old SQLite-supporting version
  14. ansible.builtin.set_fact:
  15. matrix_playbook_runtime_results: |
  16. {{
  17. matrix_playbook_runtime_results | default([])
  18. +
  19. [
  20. "NOTE: Your mautrix-facebook bridge is still on SQLite and on the last version that supported it, before support was dropped. Support has been subsequently re-added in v0.3.2, so we advise you to upgrade (by removing your `matrix_mautrix_facebook_docker_image` definition from vars.yml)"
  21. ]
  22. }}