{"id":51459409,"url":"https://github.com/dekeyrej/ansible","last_synced_at":"2026-07-06T04:01:23.380Z","repository":{"id":304544767,"uuid":"947624797","full_name":"dekeyrej/ansible","owner":"dekeyrej","description":null,"archived":false,"fork":false,"pushed_at":"2025-12-29T21:42:35.000Z","size":550,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-02T04:38:33.131Z","etag":null,"topics":["ansible","automation","cli","cloud-init","homelab","microk8s","proxmox","secrets","vault","yaml"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dekeyrej.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-13T01:40:39.000Z","updated_at":"2025-12-29T21:42:39.000Z","dependencies_parsed_at":"2025-07-13T20:40:46.728Z","dependency_job_id":"f7d675a9-92cd-4dff-a122-5c5014dfa9b6","html_url":"https://github.com/dekeyrej/ansible","commit_stats":null,"previous_names":["dekeyrej/ansible"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dekeyrej/ansible","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dekeyrej%2Fansible","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dekeyrej%2Fansible/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dekeyrej%2Fansible/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dekeyrej%2Fansible/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dekeyrej","download_url":"https://codeload.github.com/dekeyrej/ansible/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dekeyrej%2Fansible/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35177220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-06T02:00:07.184Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","automation","cli","cloud-init","homelab","microk8s","proxmox","secrets","vault","yaml"],"created_at":"2026-07-06T04:01:21.952Z","updated_at":"2026-07-06T04:01:23.332Z","avatar_url":"https://github.com/dekeyrej.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)\n![Last Commit](https://img.shields.io/github/last-commit/dekeyrej/ansible)\n![Repo Size](https://img.shields.io/github/repo-size/dekeyrej/ansible)\n![Ansible Lint](https://img.shields.io/badge/lint-passing-brightgreen) \u003c!-- Update dynamically if you add CI --\u003e\n\n\n# 📘 Project: Proxmox to Vault-Hardened MicroK8s Cluster Homelab Automation\nA fully automated system for provisioning Kubernetes-ready nodes via Proxmox, configuring secure Vault-based secrets delivery, orchestrating microceph and microk8s clusters, and deploying services and applications—all with Ansible.\n\n## 📁 Repository Structure\n\n- `playbooks/`: Entry points for specific automation tasks.\n- `roles/`: Modular roles for provisioning, configuration, and updates.\n- `inventory/`: Host definitions for targeting your infrastructure.\n- `collections/`: External dependencies (e.g., community modules).\n- `ansible.cfg`: Configuration for Ansible execution.\n\n## 🚀 Getting Started\n\n### Requirements\n- Ansible 2.14+\n- Python 3.10+\n- Proxmox VE with API access\n- Vault with GCP KMS credentials (optional)\n\nInstall required collections:\n\n```bash\nansible-galaxy install -r collections/requirements.yml\n```\n\n## 🛠️ Features\n- Proxmox VM \u0026 LXC container automation via community.general.proxmox\n- Cloud-init bootstrapping and cloud-capable templating\n- Self-signed RFC-compliant CA and TLS cert generation\n- Vault installation, configuration, auto-unseal with GCP KMS\n- MicroK8s and MicroCeph clustering with node prep\n- Secrets provisioning for K8s workloads using Vault and KubeVault integration\n- Turnkey deployment of microservices \u0026 supporting infrastructure\n\nRun a playbook:\n```bash\nansible-playbook -i inventory/hosts.ini playbooks/88_proxmox_provision.yaml\n```\n\n## 🧱 Key Roles\n| Role | Description | \n|---|---|\n| proxmox-container-fetch-image | Downloads latest Ubuntu Noble LXC image | \n| vault-configure | Installs and configures HashiCorp Vault | \n| microk8s-assemble-cluster | Builds a MicroK8s cluster across nodes | \n| kubernetes-redis-deploy | Sets up Redis for real-time data flow | \n| kubernetes-microservices-deploy | Deploys Redis-first microservices | \n| magic-mirror-install | Configures MagicMirror display system | \n\n\n## 🧪 Testing \u0026 Development\nUse roletesting.yaml or testbook.yaml for isolated role testing.\n\n## 🧠 Philosophy\n- Declarative: Minimal imperative logic.\n- Composable: Roles can be reused across playbooks.\n- Transparent: Clear logs and traceable actions.\n\n## 📜 License\nMIT\n\n## 🧩 Related Projects\n- [MicroServiceMatrix](https://github.com/dekeyrej/microservicematrix) Modular microservices for real-time updates\n- [MatrixClient](https://github.com/dekeyrej/matrixclient) SSE-driven client for Redis-first architecture\n\n\n\n## 🌱 Extras\n- MagicMirror2 container bootstrapped with Ansible\n- Future support for deploy_mtig_stack, open-webui, and other microservices\n\n## 🔭 Roadmap\n- Improve cloud-init templating of base images\n- Replace cert patching once MicroK8s supports modern key usages\n- Add validation role to verify cluster and secrets bootstrapping\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdekeyrej%2Fansible","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdekeyrej%2Fansible","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdekeyrej%2Fansible/lists"}