code: def disable_service(conn, service='ceph'):
      
      if is_systemd(conn):
          # Without the check, an error is raised trying to disable an
          # already disabled service
          if is_systemd_service_enabled(conn, service):
              remoto.process.run(
                  conn,
                  [
                      'systemctl',
                      'disable',
                      '{service}'.format(service=service),
                  ]
              )
docs: Disable a service on a remote host depending on the type of init system.
      Obviously, this should be done for RHEL/Fedora/CentOS systems.
  
      This function does not do any kind of detection.