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,
|
changed=False,
|
||||||
stdout='',
|
stdout='',
|
||||||
stderr='',
|
stderr='',
|
||||||
rc=0,
|
rc='',
|
||||||
start='',
|
start='',
|
||||||
end='',
|
end='',
|
||||||
delta='',
|
delta='',
|
||||||
)
|
)
|
||||||
|
|
||||||
if module.check_mode:
|
if module.check_mode:
|
||||||
module.exit_json(**result)
|
return result
|
||||||
|
|
||||||
startd = datetime.datetime.now()
|
startd = datetime.datetime.now()
|
||||||
|
|
||||||
|
|
|
@ -530,14 +530,14 @@ def run_module():
|
||||||
changed=changed,
|
changed=changed,
|
||||||
stdout='',
|
stdout='',
|
||||||
stderr='',
|
stderr='',
|
||||||
rc=0,
|
rc='',
|
||||||
start='',
|
start='',
|
||||||
end='',
|
end='',
|
||||||
delta='',
|
delta='',
|
||||||
)
|
)
|
||||||
|
|
||||||
if module.check_mode:
|
if module.check_mode:
|
||||||
module.exit_json(**result)
|
return result
|
||||||
|
|
||||||
startd = datetime.datetime.now()
|
startd = datetime.datetime.now()
|
||||||
|
|
||||||
|
|
|
@ -566,14 +566,14 @@ def run_module():
|
||||||
changed=False,
|
changed=False,
|
||||||
stdout='',
|
stdout='',
|
||||||
stderr='',
|
stderr='',
|
||||||
rc=0,
|
rc='',
|
||||||
start='',
|
start='',
|
||||||
end='',
|
end='',
|
||||||
delta='',
|
delta='',
|
||||||
)
|
)
|
||||||
|
|
||||||
if module.check_mode:
|
if module.check_mode:
|
||||||
module.exit_json(**result)
|
return result
|
||||||
|
|
||||||
# start execution
|
# start execution
|
||||||
startd = datetime.datetime.now()
|
startd = datetime.datetime.now()
|
||||||
|
|
Loading…
Reference in New Issue