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(
|
||||
changed=False,
|
||||
stdout='There was no OSD to destroy and zap was set to False.',
|
||||
rc=1,
|
||||
rc=0,
|
||||
)
|
||||
else:
|
||||
result = dict(
|
||||
changed=True,
|
||||
rc=1,
|
||||
rc=0,
|
||||
)
|
||||
command_results = []
|
||||
for cmd in commands:
|
||||
|
|
Loading…
Reference in New Issue