diff options
author | 2019-03-07 11:49:20 +0200 | |
---|---|---|
committer | 2019-03-07 13:03:26 +0200 | |
commit | 178ff1ef7a1bb8232b3f906a23c9e3846472b627 (patch) | |
tree | d51dbc54e8d96b667d79e2f781e9895630830e0a | |
parent | ad41e6df9debcf5f8706eb362783bb565397a8d3 (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.yml | 1 | ||||
-rw-r--r-- | ansible/roles/resource-data/tasks/unarchive-resource.yml | 1 |
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" - |