Case study 05

Ansible Dashboard – Deployment & Server Automation Platform

Deployment & server automation platform

Overview

A web dashboard that runs Ansible from the browser: a FastAPI API queues jobs, a separate worker executes playbooks, and a React + TypeScript UI shows live logs, history and audit records.

Architecture

React UI
→
FastAPI
→
Job Worker
→
Playbooks
→
Servers

What I built

  • Built a web dashboard that runs Ansible from the browser: a FastAPI API queues jobs, a separate worker executes playbooks, and a React + TypeScript UI shows live logs, history and audit records.
  • Wrote 53 playbooks across 6 projects covering deploy, redeploy, rollback, restart, logs, database backup and restore, full environment cloning, SSH key rotation and monitoring-agent rollout.
  • Engineered safety into every run: mandatory --limit targeting, check mode, typed confirmations for dangerous actions, per-server job locking and backup-before-redeploy.
  • Developed idempotent disk automation for Ubuntu 22.04/24.04 (GPT, XFS/ext4, UUID-based fstab) that refuses boot disks, LVM volumes, RAID members and existing filesystems.
  • Secured access with JWT, TOTP two-factor, role-based permissions with risk tiers, Ansible Vault per host and HashiCorp Vault, with secrets redacted from all job output.
  • Added PostgreSQL backups streamed over SSH directly into S3 storage with checksums, a Go monitoring agent for host, GPU and Docker metrics, and an MCP server for AI-assisted operations.