From bae46037e11a2bbf0ff7d67b881bbb3f5f89d183 Mon Sep 17 00:00:00 2001 From: Jonathan Hunt Date: Thu, 11 Feb 2021 09:11:50 +1300 Subject: [PATCH] #1758 Replace openseadragon_iiiv with openseadragon_iiif --- README.md | 4 ++-- defaults/main.yml | 4 ++-- tasks/config.yml | 12 ++++++------ 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index b0dca5c..6245efd 100644 --- a/README.md +++ b/README.md @@ -42,12 +42,12 @@ openseadragon_temp_folder: /tmp Check for an existing IIIF server configuration setting ``` -openseadragon_iiiv_set_var: false +openseadragon_iiif_set_var: false ``` What to set the IIIF server to: ``` -openseadragon_iiiv_server: +openseadragon_iiif_server: ``` ## Dependencies diff --git a/defaults/main.yml b/defaults/main.yml index a45a2c6..b3a443a 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -9,5 +9,5 @@ openseadragon_sites: openseadragon_version: 2.4.1 openseadragon_temp_folder: /tmp -openseadragon_iiiv_set_var: false -openseadragon_iiiv_server: +openseadragon_iiif_set_var: false +openseadragon_iiif_server: diff --git a/tasks/config.yml b/tasks/config.yml index f807276..031f615 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -20,15 +20,15 @@ - name: Check IIIF URL command: "{{ openseadragon_drush_path }} --root {{ openseadragon_composer_root }}/web cget openseadragon.settings iiif_server --format=json" - when: openseadragon_iiiv_set_var + when: openseadragon_iiif_set_var changed_when: false failed_when: false - register: openseadragon_iiiv_status + register: openseadragon_iiif_status - name: Set IIIF URL command: - "{{ openseadragon_drush_path }} --root {{ openseadragon_composer_root }}/web cset openseadragon.settings iiif_server {{ openseadragon_iiiv_server }} --yes" + "{{ openseadragon_drush_path }} --root {{ openseadragon_composer_root }}/web cset openseadragon.settings iiif_server {{ openseadragon_iiif_server }} --yes" when: > - not openseadragon_iiiv_status.skipped|default(false) and - (openseadragon_iiiv_status.rc == 1 or - (openseadragon_iiiv_status.stdout|from_json)['openseadragon.settings:iiif_server'] != openseadragon_iiiv_server) + not openseadragon_iiif_status.skipped|default(false) and + (openseadragon_iiif_status.rc == 1 or + (openseadragon_iiif_status.stdout|from_json)['openseadragon.settings:iiif_server'] != openseadragon_iiif_server)