add support for redis slave role