Matrix Docker Ansible eploy
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 

58 linhas
2.3 KiB

  1. ---
  2. - name: (Deprecation) Warn about mxisd variables that are not used anymore
  3. fail:
  4. msg: >
  5. The `{{ item }}` variable defined in your configuration is not used by this playbook anymore!
  6. You'll need to adapt to the new way of extending mxisd configuration.
  7. See the CHANGELOG and the `matrix_mxisd_configuration_extension_yaml` variable for more information and examples.
  8. when: "item in vars"
  9. with_items:
  10. - 'matrix_mxisd_ldap_enabled'
  11. - 'matrix_mxisd_ldap_connection_host'
  12. - 'matrix_mxisd_ldap_connection_tls'
  13. - 'matrix_mxisd_ldap_connection_port'
  14. - 'matrix_mxisd_ldap_connection_baseDn'
  15. - 'matrix_mxisd_ldap_connection_baseDns'
  16. - 'matrix_mxisd_ldap_connection_bindDn'
  17. - 'matrix_mxisd_ldap_connection_bindPassword'
  18. - 'matrix_mxisd_ldap_filter'
  19. - 'matrix_mxisd_ldap_attribute_uid_type'
  20. - 'matrix_mxisd_ldap_attribute_uid_value'
  21. - 'matrix_mxisd_ldap_connection_bindPassword'
  22. - 'matrix_mxisd_ldap_attribute_name'
  23. - 'matrix_mxisd_ldap_attribute_threepid_email'
  24. - 'matrix_mxisd_ldap_attribute_threepid_msisdn'
  25. - 'matrix_mxisd_ldap_identity_filter'
  26. - 'matrix_mxisd_ldap_identity_medium'
  27. - 'matrix_mxisd_ldap_auth_filter'
  28. - 'matrix_mxisd_ldap_directory_filter'
  29. - 'matrix_mxisd_template_config'
  30. - name: Ensure mxisd configuration does not contain any dot-notation keys
  31. fail:
  32. msg: >
  33. Since version 1.3.0, mxisd will not accept property-style configuration keys.
  34. You have defined a key (`{{ item.key }}`) which contains a dot.
  35. Instead, use nesting. See: https://github.com/kamax-matrix/mxisd/wiki/Upgrade#v130
  36. when: "'.' in item.key"
  37. with_dict: "{{ matrix_mxisd_configuration }}"
  38. - name: Fail if required mxisd settings not defined
  39. fail:
  40. msg: >
  41. You need to define a required configuration setting (`{{ item }}`) for using mxisd.
  42. when: "vars[item] == ''"
  43. with_items:
  44. - "matrix_mxisd_threepid_medium_email_connectors_smtp_host"
  45. - name: (Deprecation) Catch and report renamed mxisd variables
  46. fail:
  47. msg: >-
  48. Your configuration contains a variable, which now has a different name.
  49. Please change your configuration to rename the variable (`{{ item.old }}` -> `{{ item.new }}`).
  50. when: "item.old in vars"
  51. with_items:
  52. - {'old': 'matrix_mxisd_container_expose_port', 'new': '<superseded by matrix_mxisd_container_http_host_bind_port>'}