Add working dir to error message
Change-Id: Ia576c0160b0f909d199d13f355d50c1697947382
This commit is contained in:
parent
e81ba6320c
commit
1954d3528b
@ -32,8 +32,9 @@ def _fail_dict(path, prefix='Accessing files from'):
|
||||
return dict(
|
||||
failed=True,
|
||||
path=path,
|
||||
msg="{prefix} outside the working dir is prohibited".format(
|
||||
prefix=prefix))
|
||||
msg="{prefix} outside the working dir {curdir} is prohibited".format(
|
||||
prefix=prefix,
|
||||
curdir=os.path.abspath(os.path.curdir)))
|
||||
|
||||
|
||||
def _import_ansible_action_plugin(name):
|
||||
|
Loading…
Reference in New Issue
Block a user