How kenya-west/ansible-my works
This is an Ansible infrastructure-as-code suite for preparing and operating VPSs. The principal workflow is an operator selecting hosts and capabilities in inventory, then running playbooks that apply modular roles to configure those hosts. The resulting infrastructure spans VPN/proxy services, web proxying, backups, security hardening, and observability; analytics is intentionally deployed centrally before node agents. The README documents these capabilities, but most role and playbook source was not sampled, so edges reflect documented relationships rather than inferred task-level calls.
Main entry points: playbooks Deployment playbooks · server Central analytics · inventory Host inventory · node Node telemetry
Components 17
Deployment inputs
- Host inventory
inventory - Deployment playbooks
playbooks - Reusable Ansible roles
roles
Host foundation
- VPS preparation
playbooks/base - Security hardening
roles/install_ufw
Network services
- Caddy web server
roles/install_vpn_caddy_caddy - WireGuard VPN
roles/install_vpn_caddy_wg - FRP proxy
roles/install_vpn_caddy_frp - Remnawave VPN
roles/install_vpn_server_remnawave
Operations and telemetry
- Automated backups
roles/install_backup_node_restic - Central analytics
playbooks/observability/server - Node telemetry
playbooks/observability/node - Metrics and dashboards
roles/install_analytics_server_prometheus - Log aggregation
roles/install_analytics_server_victorialogs - Infrastructure billing sync
action_plugins/infra_billing.py - Billing pull to hosts
action_plugins/infra_billing_pull.py
Other components
- Infrastructure operator
Connections 18
- Infrastructure operator → Host inventory: edits
- Infrastructure operator → Deployment playbooks: runs
- Host inventory → Deployment playbooks: selects hosts
- Deployment playbooks → Reusable Ansible roles: applies capabilities
- Deployment playbooks → VPS preparation: prepares hosts
- Deployment playbooks → Security hardening: hardens hosts
- Deployment playbooks → Caddy web server: deploys
- Deployment playbooks → WireGuard VPN: deploys
- Deployment playbooks → FRP proxy: deploys
- Deployment playbooks → Remnawave VPN: deploys
- Deployment playbooks → Automated backups: configures backups
- Deployment playbooks → Central analytics: deploys first
- Deployment playbooks → Node telemetry: deploys agents
- Central analytics → Node telemetry: gathers telemetry
- Central analytics → Metrics and dashboards: includes stack
- Central analytics → Log aggregation: includes stack
- Infrastructure operator → Infrastructure billing sync: runs sync
- Infrastructure operator → Billing pull to hosts: runs pull