summaryrefslogtreecommitdiffstats
path: root/ansible/library/fetch_url_and_verify.py
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/library/fetch_url_and_verify.py')
-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])