mirror of https://github.com/ceph/ceph-ansible.git
ceph_volume: rc should be 0 on successful runs
Signed-off-by: Andrew Schoen <aschoen@redhat.com>pull/2233/merge
parent
dbd527411c
commit
a8b0d3f045
|
@ -311,12 +311,12 @@ def remove_osd(module):
|
||||||
result = dict(
|
result = dict(
|
||||||
changed=False,
|
changed=False,
|
||||||
stdout='There was no OSD to destroy and zap was set to False.',
|
stdout='There was no OSD to destroy and zap was set to False.',
|
||||||
rc=1,
|
rc=0,
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
result = dict(
|
result = dict(
|
||||||
changed=True,
|
changed=True,
|
||||||
rc=1,
|
rc=0,
|
||||||
)
|
)
|
||||||
command_results = []
|
command_results = []
|
||||||
for cmd in commands:
|
for cmd in commands:
|
||||||
|
|
Loading…
Reference in New Issue