From: Samuli Silvius Date: Thu, 7 Mar 2019 09:49:20 +0000 (+0200) Subject: Ignore checksum from existence check of resources X-Git-Tag: 6.0.0-ONAP~289 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=178ff1ef7a1bb8232b3f906a23c9e3846472b627;p=oom%2Foffline-installer.git 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 --- 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" -