Matrix Docker Ansible eploy
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 

48 Zeilen
1.9 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"