mirror of https://github.com/ceph/ceph-ansible.git
Revert "library: Fix new-style modules check mode"
This reverts commit bff2123430
.
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
4.2rc
parent
41c7c77817
commit
134ff59528
|
@ -166,14 +166,14 @@ def run_module():
|
|||
changed=False,
|
||||
stdout='',
|
||||
stderr='',
|
||||
rc=0,
|
||||
rc='',
|
||||
start='',
|
||||
end='',
|
||||
delta='',
|
||||
)
|
||||
|
||||
if module.check_mode:
|
||||
module.exit_json(**result)
|
||||
return result
|
||||
|
||||
startd = datetime.datetime.now()
|
||||
|
||||
|
|
|
@ -530,14 +530,14 @@ def run_module():
|
|||
changed=changed,
|
||||
stdout='',
|
||||
stderr='',
|
||||
rc=0,
|
||||
rc='',
|
||||
start='',
|
||||
end='',
|
||||
delta='',
|
||||
)
|
||||
|
||||
if module.check_mode:
|
||||
module.exit_json(**result)
|
||||
return result
|
||||
|
||||
startd = datetime.datetime.now()
|
||||
|
||||
|
|
|
@ -566,14 +566,14 @@ def run_module():
|
|||
changed=False,
|
||||
stdout='',
|
||||
stderr='',
|
||||
rc=0,
|
||||
rc='',
|
||||
start='',
|
||||
end='',
|
||||
delta='',
|
||||
)
|
||||
|
||||
if module.check_mode:
|
||||
module.exit_json(**result)
|
||||
return result
|
||||
|
||||
# start execution
|
||||
startd = datetime.datetime.now()
|
||||
|
|
Loading…
Reference in New Issue