code: def list_roles(self, envs=[], query='/roles/'):
          
          juicer.utils.Log.log_debug("List Roles %s", ", ".join(envs))
  
          count = 0
  
          for env in envs:
              count += 1
              rcount = 0
  
              juicer.utils.Log.log_info("%s:", env)
              _r = self.connectors[env].get(query)
              if _r.status_code == Constants.PULP_GET_OK:
                  roles = juicer.utils.load_json_str(_r.content)
  
                  for role in roles:
                      rcount += 1
  
                      juicer.utils.Log.log_info("Name: %s" % role['display_name'])
                      juicer.utils.Log.log_info("Description: %s" % role['description'])
                      juicer.utils.Log.log_info("ID: %s" % role['id'])
                      juicer.utils.Log.log_info("Users: %s" % ', '.join(role['users']))
  
                      if rcount < len(roles):
                          # just want a new line
                          juicer.utils.Log.log_info("\n")
  
                  if count < len(envs):
                      # just want a new line
                      juicer.utils.Log.log_info("\n")
              else:
                  _r.raise_for_status()
          return True
docs: List roles in specified environments