mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Merge pull request #10719 from mscherer/fix_error_action_v2
Fix the filename in error message (pylint)
This commit is contained in:
@@ -190,7 +190,7 @@ class ActionBase:
|
||||
# Catch failure conditions, files should never be
|
||||
# written to locations in /.
|
||||
if rc == '/':
|
||||
raise AnsibleError('failed to resolve remote temporary directory from %s: `%s` returned empty string' % (basetmp, cmd))
|
||||
raise AnsibleError('failed to resolve remote temporary directory from %s: `%s` returned empty string' % (basefile, cmd))
|
||||
|
||||
return rc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user