code: def absent(name, auth=None, **kwargs):
      '''
      Ensure role does not exist
  
      name
          Name of the role
      '''
      ret = {'name': name,
             'changes': {},
             'result': True,
             'comment': ''}
  
      __salt__['keystoneng.setup_clouds'](auth)
  
      kwargs['name'] = name
      role = __salt__['keystoneng.role_get'](**kwargs)
  
      if role:
          if __opts__['test'] is True:
              ret['result'] = None
              ret['changes'] = {'id': role.id}
              ret['comment'] = 'Role will be deleted.'
              return ret
  
          __salt__['keystoneng.role_delete'](name=role)
          ret['changes']['id'] = role.id
          ret['comment'] = 'Deleted role'
  
      return ref absent(name, auth=None, **kwargs):
      '''
      Ensure role does not exist
  
      name
          Name of the role
      '''
      ret = {'name': name,
             'changes': {},
             'result': True,
             'comment': ''}
  
      __salt__['keystoneng.setup_clouds'](auth)
  
      kwargs['name'] = name
      role = __salt__['keystoneng.role_get'](**kwargs)
  
      if role:
          if __opts__['test'] is True:
              ret['result'] = None
              ret['changes'] = {'id': role.id}
              ret['comment'] = 'Role will be deleted.'
              return ret
  
          __salt__['keystoneng.role_delete'](name=role)
          ret['changes']['id'] = role.id
          ret['comment'] = 'Deleted role'
  
      return ret
docs: Ensure role does not exist
  
      name
          Name of the role