[APP] - USAS

Abierto
#1,068 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
38/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
ansible, php
Área
full-stack

Línea de trabajo

Start by reading the existing app definitions and the repository’s contribution guidance to find how enhanced apps declare configuration, API requests, and tile fields. Implement the USAS app using the issue’s GET /api/status endpoint and bearer token details. Done means the config accepts the token securely and the tile displays Run, VMs, and New with the described refresh behavior; validate against the test plan in the issue.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

app-request request-valid
App name

USAS

Website

https://github.com/HoneyBearTech/ubuntu-server-auto-setup

License

MIT License

Tile background

dark

Icon

usas.svg

Description

Adds USAS (https://github.com/HoneyBearTech/ubuntu-server-auto-setup), a self-hosted web UI and set of
Ansible playbooks that install Ubuntu Server on new Proxmox VE VMs unattended and apply a hardened
baseline, as an enhanced app.

  • Endpoint: GET /api/status, documented in USAS's docs/interfaces.md ("The status API"). It returns a
    short summary only: the running run's playbook, the last run's playbook and result, the inventory's
    servers still to install, and the cluster's running/total VMs. It never holds host, node, cluster or
    VM names, addresses, VM IDs, logs or secrets.
  • Auth: Authorization: Bearer . The API is off (404) until the token is made in USAS on
    the Account page, under "Status for dashboards"; the token can read this summary and nothing else.
    The config field is a password input.
  • Tile: Run / VMs / New. "Run" shows the last run's result (OK, Failed, Stopped), or "Now" with the
    playbook while a run is going. Status is "active" while a run is in progress (5 s refresh),
    otherwise 30 s. Unknown values in the answer are ignored, so the tile only ever shows its own labels.

Test plan: tested against a self-hosted USAS (v0.6.0) in linuxserver/heimdall (2.8.3). Test says
"Successfully communicated with the API" with a valid token; the tile showed "Run OK, VMs 10/11, New 2",
and "Now Install" during a provisioning run.

I intend to build this as an Enhanced app myself
  • Yes, I plan to add Enhanced support in a follow-up
Lenguaje dominante
PHP
Estrellas
326
Forks
337
Merge medio
4 min
PR fusionados (30 d)
3

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de linuxserver/Heimdall-Apps

Todos los issues de linuxserver/Heimdall-Apps

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.