ceph_volume: rc should be 0 on successful runs

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
pull/2233/merge
Andrew Schoen 2018-03-14 12:26:43 -05:00 committed by Sébastien Han
parent dbd527411c
commit a8b0d3f045
1 changed files with 2 additions and 2 deletions

View File

@ -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: