[APP] - USAS

Đang mở
#1,068 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
38/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
ansible, php
Lĩnh vực
full-stack

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
PHP
Star
326
Fork
337
Merge trung bình
4 phút
Pull request đã merge (30 ngày)
3

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của linuxserver/Heimdall-Apps

Tất cả issue của linuxserver/Heimdall-Apps

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.