Merge "executor: properly format error exception"
This commit is contained in:
commit
492e41fefd
|
@ -1537,7 +1537,7 @@ class AnsibleJob(object):
|
|||
link = os.path.join(root, name)
|
||||
link = os.path.realpath(link)
|
||||
if not link.startswith(os.path.realpath(root)):
|
||||
raise ExecutorError("Invalid role name %s", name)
|
||||
raise ExecutorError("Invalid role name %s" % name)
|
||||
os.symlink(path, link)
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue