code: def role_create(name, profile=None, **connection_args):
      '''
      Create a named role.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' keystone.role_create admin
      '''
  
      kstone = auth(profile, **connection_args)
      if 'Error' not in role_get(name=name, profile=profile, **connection_args):
          return {'Error': 'Role "{0}" already exists'.format(name)}
      kstone.roles.create(name)
      return role_get(name=name, profile=profile, **connection_argsf role_create(name, profile=None, **connection_args):
      '''
      Create a named role.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' keystone.role_create admin
      '''
  
      kstone = auth(profile, **connection_args)
      if 'Error' not in role_get(name=name, profile=profile, **connection_args):
          return {'Error': 'Role "{0}" already exists'.format(name)}
      kstone.roles.create(name)
      return role_get(name=name, profile=profile, **connection_args)
docs: Create a named role.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' keystone.role_create admin