diff --git a/library/ceph_key.py b/library/ceph_key.py index a5fd517c9..34a3b79b2 100644 --- a/library/ceph_key.py +++ b/library/ceph_key.py @@ -678,8 +678,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=True, )