[APP] - USAS

Aperta
#1,068 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
ansible, php
Ambito
full-stack

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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
Lingua principale
PHP
Stelle
326
Fork
337
Merge medio
4m
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di linuxserver/Heimdall-Apps

Tutte le issue di linuxserver/Heimdall-Apps

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.