From 178ff1ef7a1bb8232b3f906a23c9e3846472b627 Mon Sep 17 00:00:00 2001 From: Samuli Silvius Date: Thu, 7 Mar 2019 11:49:20 +0200 Subject: Ignore checksum from existence check of resources To speed up resource packages existency check, ignore checsum. This change was accidentally left out from previous commit as merging was not communicated. Issue-ID: OOM-1654 Change-Id: I567eaba49e6a5244d51187d42af719bf360b41f0 Signed-off-by: Samuli Silvius --- ansible/roles/resource-data/tasks/main.yml | 1 + ansible/roles/resource-data/tasks/unarchive-resource.yml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'ansible/roles/resource-data') diff --git a/ansible/roles/resource-data/tasks/main.yml b/ansible/roles/resource-data/tasks/main.yml index bcdc7dd1..41046d81 100644 --- a/ansible/roles/resource-data/tasks/main.yml +++ b/ansible/roles/resource-data/tasks/main.yml @@ -4,6 +4,7 @@ - name: Check if source dir and files are present stat: path: "{{ item.source }}" + get_checksum: false loop: - { source: "{{ resources_dir }}/{{ resources_filename | default('thisdoesnotexists', true) }}", target: "{{ app_data_path }}/{{ resources_filename | default('thisdoesnotexists', true) }}" } diff --git a/ansible/roles/resource-data/tasks/unarchive-resource.yml b/ansible/roles/resource-data/tasks/unarchive-resource.yml index 7ccd21e7..79fdbfce 100644 --- a/ansible/roles/resource-data/tasks/unarchive-resource.yml +++ b/ansible/roles/resource-data/tasks/unarchive-resource.yml @@ -53,4 +53,3 @@ - fail: msg: "Upload of {{ resource_source_filename }} failed" - -- cgit 1.2.3-korg