A self-hosted web UI for managing Ansible projects, inventories, credentials, templates, and task runs.
- Node.js 20+
- npm 10+
- PostgreSQL (recommended 14+)
- Git
- Ansible (
ansible-playbookmust be available in PATH) sshpass(required only if you use password-based SSH auth in tasks)
-
Clone and enter the project:
git clone https://github.com/frozendark01/Ansible-UI.git cd Ansible-Hub -
Install dependencies:
npm install
-
Create a PostgreSQL database and set environment variables:
cp .env.example .env 2>/dev/null || touch .env
Add at least:
DATABASE_URL=postgresql://USER:PASSWORD@HOST:5432/DB_NAME PORT=5000
-
Push the schema to your database:
npm run db:push
-
Start the development server:
npm run dev
App runs at
http://localhost:5000by default.
Build and run:
npm run build
npm startnpm run check— TypeScript type checknpm run db:push— apply schema changes to PostgreSQLnpm run build— build client + server
