From 05a1713402b7b40dab06a3b793035fca13092edf Mon Sep 17 00:00:00 2001 From: Tiz <72883092+sudo-Tiz@users.noreply.github.com> Date: Wed, 2 Oct 2024 11:29:40 +0000 Subject: [PATCH] Update adjust_config.yml - remove type for preview generator adjust-nextcloud-config tags is returning an error `Unknown type integer` when setting the type to int or integer for jpeg_quality. This workaround proposes to remove the "type=" as the playbook works well without --- tasks/adjust_config.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tasks/adjust_config.yml b/tasks/adjust_config.yml index 07eed11..2aa2b66 100644 --- a/tasks/adjust_config.yml +++ b/tasks/adjust_config.yml @@ -30,22 +30,19 @@ - name: Adjust Nextcloud configuration values related to preview generator ansible.builtin.command: cmd: |- - docker exec --user={{ nextcloud_uid }}:{{ nextcloud_gid }} {{ nextcloud_identifier }}-server php /var/www/html/occ {{ item.appType }} --type={{ item.type }} --value={{ item.value }} -- {{ item.appConfig }} {{ item.configName }} + docker exec --user={{ nextcloud_uid }}:{{ nextcloud_gid }} {{ nextcloud_identifier }}-server php /var/www/html/occ {{ item.appType }} --value={{ item.value }} -- {{ item.appConfig }} {{ item.configName }} with_items: - appType: "config:system:set" appConfig: "" configName: "preview_max_x" - type: "string" value: "{{ nextcloud_preview_preview_max_x }}" - appType: "config:system:set" appConfig: "" configName: "preview_max_y" - type: "string" value: "{{ nextcloud_preview_preview_max_y }}" - appType: "config:app:set" appConfig: "preview" configName: "jpeg_quality" - type: int value: "{{ nextcloud_preview_app_jpeg_quality }}" - name: "Check if {{ nextcloud_preview_first_run_finished_filename }} exists"