Parcourir la source

fix: remove deprecated convert_data option

pull/5269/head
Matěj Cepl il y a 1 mois
Parent
révision
56e5852c08
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 79205802880BC9D8
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      roles/custom/matrix-client-element/defaults/main.yml

+ 2
- 2
roles/custom/matrix-client-element/defaults/main.yml Voir le fichier

@@ -315,7 +315,7 @@ matrix_client_element_setting_defaults_custom_themes: [] # noqa var-naming
#
# The side-effect of this lookup is that Ansible would even parse the JSON for us, returning a dict.
# This is unlike what it does when looking up YAML template files (no automatic parsing there).
matrix_client_element_configuration_default: "{{ lookup('template', 'templates/config.json.j2', convert_data=False) | from_json }}"
matrix_client_element_configuration_default: "{{ lookup('template', 'templates/config.json.j2') | from_json }}"

# Your custom JSON configuration for Element Web should go to `matrix_client_element_configuration_extension_json`.
# This configuration extends the default starting configuration (`matrix_client_element_configuration_default`).
@@ -353,7 +353,7 @@ matrix_client_element_location_sharing_enabled: false
#
# The side-effect of this lookup is that Ansible would even parse the JSON for us, returning a dict.
# This is unlike what it does when looking up YAML template files (no automatic parsing there).
matrix_client_element_location_sharing_map_style_default: "{{ lookup('template', 'templates/map_style.json.j2', convert_data=False) | from_json }}"
matrix_client_element_location_sharing_map_style_default: "{{ lookup('template', 'templates/map_style.json.j2') | from_json }}"

# Your custom JSON configuration for Element location sharing map style should go to `matrix_client_element_location_sharing_map_style_extension_json`.
# This configuration extends the default starting configuration (`matrix_client_element_location_sharing_map_style_default`).


Chargement…
Annuler
Enregistrer