code: def sentinel_get_master_ip(master, host=None, port=None, password=None):
      '''
      Get ip for sentinel master
  
      .. versionadded: 2016.3.0
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' redis.sentinel_get_master_ip 'mymaster'
      '''
      server = _sconnect(host, port, password)
      ret = server.sentinel_get_master_addr_by_name(master)
      return dict(list(zip(('master_host', 'master_port'), ret))f sentinel_get_master_ip(master, host=None, port=None, password=None):
      '''
      Get ip for sentinel master
  
      .. versionadded: 2016.3.0
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' redis.sentinel_get_master_ip 'mymaster'
      '''
      server = _sconnect(host, port, password)
      ret = server.sentinel_get_master_addr_by_name(master)
      return dict(list(zip(('master_host', 'master_port'), ret)))
docs: Get ip for sentinel master
  
      .. versionadded: 2016.3.0
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' redis.sentinel_get_master_ip 'mymaster'