summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Silvius <s.silvius@partner.samsung.com>2019-03-07 11:49:20 +0200
committerSamuli Silvius <s.silvius@partner.samsung.com>2019-03-07 13:03:26 +0200
commit178ff1ef7a1bb8232b3f906a23c9e3846472b627 (patch)
treed51dbc54e8d96b667d79e2f781e9895630830e0a
parentad41e6df9debcf5f8706eb362783bb565397a8d3 (diff)
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 <s.silvius@partner.samsung.com>
-rw-r--r--ansible/roles/resource-data/tasks/main.yml1
-rw-r--r--ansible/roles/resource-data/tasks/unarchive-resource.yml1
2 files changed, 1 insertions, 1 deletions
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"
-