diff --git a/library/ceph_volume.py b/library/ceph_volume.py index 378f7a9d6..4d45551c3 100644 --- a/library/ceph_volume.py +++ b/library/ceph_volume.py @@ -630,8 +630,8 @@ def run_module(): end=str(endd), delta=str(delta), rc=rc, - stdout=out.rstrip(b'\r\n'), - stderr=err.rstrip(b'\r\n'), + stdout=out.rstrip('\r\n'), + stderr=err.rstrip('\r\n'), changed=changed, )