this should return 0 to indicate a non-failure when check_mode is True
This commit is contained in:
parent
bbcfda8c18
commit
8756612599
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ class Group(object):
|
|||
if len(cmd) == 1:
|
||||
return (None, '', '')
|
||||
if self.module.check_mode:
|
||||
return (True, '', '')
|
||||
return (0, '', '')
|
||||
cmd.append(self.name)
|
||||
return self.execute_command(cmd)
|
||||
|
||||
|
|
Loading…
Reference in a new issue