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.
 
 

31 lignes
2.2 KiB

  1. ---
  2. - name: Fail if required matrix-media-repo settings not defined
  3. ansible.builtin.fail:
  4. msg: >
  5. You need to define a required configuration setting (`{{ item.name }}`).
  6. when: "item.when | bool and vars[item.name] == ''"
  7. with_items:
  8. - {'name': 'matrix_media_repo_database_hostname', when: true}
  9. - name: (Deprecation) Catch and report renamed matrix-media-repo settings
  10. ansible.builtin.fail:
  11. msg: >-
  12. Your configuration contains a variable, which now has a different name.
  13. Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`).
  14. when: "item.old in vars"
  15. with_items:
  16. - {'old': 'matrix_media_repo_access_tokens', 'new': '<flattened into multiple matrix_media_repo_access_tokens_XXX variables - see roles/custom/matrix-media-repo/defaults/main.yml>'}
  17. - {'old': 'matrix_media_repo_datastores', 'new': '<flattened into matrix_media_repo_datastores_XXX variables - see roles/custom/matrix-media-repo/defaults/main.yml>'}
  18. - {'old': 'matrix_media_repo_uploads', 'new': '<flattened into multiple matrix_media_repo_uploads_XXX variables - see roles/custom/matrix-media-repo/defaults/main.yml>'}
  19. - {'old': 'matrix_media_repo_downloads_cache_enabled', 'new': '<removed>'}
  20. - {'old': 'matrix_media_repo_downloads_cache_max_size_bytes', 'new': '<removed>'}
  21. - {'old': 'matrix_media_repo_downloads_cache_max_file_size_bytes', 'new': '<removed>'}
  22. - {'old': 'matrix_media_repo_downloads_cache_tracked_minutes', 'new': '<removed>'}
  23. - {'old': 'matrix_media_repo_downloads_cache_min_downloads', 'new': '<removed>'}
  24. - {'old': 'matrix_media_repo_downloads_cache_min_cache_time_seconds', 'new': '<removed>'}
  25. - {'old': 'matrix_media_repo_downloads_cache_min_evicted_time_seconds', 'new': '<removed>'}
  26. - {'old': 'matrix_media_repo_url_previews', 'new': '<flattened into multiple matrix_media_repo_url_previews_XXX variables - see roles/custom/matrix-media-repo/defaults/main.yml>'}
  27. - {'old': 'matrix_media_repo_thumbnails', 'new': '<flattened into multiple matrix_media_repo_thumbnails_XXX variables - see roles/custom/matrix-media-repo/defaults/main.yml>'}
  28. - {'old': 'matrix_media_repo_feature_support', 'new': '<removed>'}