mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix typo in $FILE()
This commit is contained in:
parent
2d7691500e
commit
62db667760
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue