A cannabis farm was found after police executed a search warrant at a property.