diff --git a/lib/ansible/utils.py b/lib/ansible/utils.py index a980e49ef4..202db6e3ab 100644 --- a/lib/ansible/utils.py +++ b/lib/ansible/utils.py @@ -321,7 +321,7 @@ def varReplace(raw, vars, depth=0): return ''.join(done) -_FILEPIPECRE = re.compile(r"\$(?PFILE|PIPE)\(([^\}]+)\)") +_FILEPIPECRE = re.compile(r"\$(?PFILE|PIPE)\(([^\)]+)\)") def varReplaceFilesAndPipes(basedir, raw): done = [] # Completed chunks to return