Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

26 regels
1.3 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_telegram_api_id"
  9. - "matrix_mautrix_telegram_api_hash"
  10. - "matrix_mautrix_telegram_public_endpoint"
  11. - "matrix_mautrix_telegram_appservice_token"
  12. - "matrix_mautrix_telegram_homeserver_token"
  13. - name: (Deprecation) Catch and report renamed Telegram variables
  14. 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_mautrix_telegram_container_exposed_port_number', 'new': '<superseded by matrix_mautrix_telegram_container_http_host_bind_port>'}
  21. - {'old': 'matrix_mautrix_telegram_container_self_build', 'new': 'matrix_mautrix_telegram_container_image_self_build'}
  22. - {'old': 'matrix_telegram_lottieconverter_container_self_build', 'new': 'matrix_mautrix_telegram_container_image_self_build'}
  23. - {'old': 'matrix_telegram_lottieconverter_container_self_build_mask_arch', 'new': 'matrix_telegram_lottieconverter_container_image_self_build_mask_arch'}