clarified message
This commit is contained in:
parent
8867d73420
commit
62ac5c047e
1 changed files with 1 additions and 1 deletions
|
@ -892,7 +892,7 @@ class AnsibleModule(object):
|
|||
|
||||
if mode != stat.S_IMODE(mode):
|
||||
# prevent mode from having extra info orbeing invalid long number
|
||||
self.fail_json(path=path, msg="Invalid mode supplied", details=str(e))
|
||||
self.fail_json(path=path, msg="Invalid mode supplied, only permission info is allowed", details=mode)
|
||||
|
||||
prev_mode = stat.S_IMODE(path_stat.st_mode)
|
||||
|
||||
|
|
Loading…
Reference in a new issue