aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolodymyr Mytnyk <volodymyrx.mytnyk@intel.com>2018-12-11 08:55:27 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-12-11 08:55:27 +0000
commit379cf1993914bb3aa1e0ce51e8d7d55422f1fc33 (patch)
treefd56695aabb973e66fffcca3a8f684f44d4a30ff
parent44809c7f98b6182fd1724b8ccd6f546a50db2731 (diff)
parent12837a62134c51b367f1ea8601148cd776637458 (diff)
Merge "Fix value undefined error: "fetch_url_and_verify""
-rw-r--r--ansible/library/fetch_url_and_verify.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ansible/library/fetch_url_and_verify.py b/ansible/library/fetch_url_and_verify.py
index 77ff916cc..13e8608b2 100644
--- a/ansible/library/fetch_url_and_verify.py
+++ b/ansible/library/fetch_url_and_verify.py
@@ -44,6 +44,7 @@ def main():
dest = params['dest']
sha256url = params['sha256url']
retries = params['retries']
+ sha256line = ''
image_dir, image_filename = os.path.split(dest)
rc, stdout, stderr = module.run_command(['curl', '-sS', sha256url])