Matrix Docker Ansible eploy
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 

25 lignes
1.0 KiB

  1. ---
  2. - name: Fail if required settings not defined
  3. 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. - block:
  12. - name: Inject warning if on an old SQLite-supporting version
  13. set_fact:
  14. matrix_playbook_runtime_results: |
  15. {{
  16. matrix_playbook_runtime_results|default([])
  17. +
  18. [
  19. "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)"
  20. ]
  21. }}
  22. when: "matrix_mautrix_facebook_database_engine == 'sqlite' and matrix_mautrix_facebook_docker_image.endswith(':da1b4ec596e334325a1589e70829dea46e73064b')"