diff --git a/lib/ansible/utils.py b/lib/ansible/utils.py index 0c5261b35d..f07075746a 100644 --- a/lib/ansible/utils.py +++ b/lib/ansible/utils.py @@ -336,7 +336,7 @@ def varReplaceFilesAndPipes(basedir, raw): replacement = m.group() if m.group(1) == "FILE": - path = path_dwim(baesdir, m.group(2)) + path = path_dwim(basedir, m.group(2)) try: f = open(path, "r") replacement = f.read()