Initial Ansible automation for homelab infrastructure
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
---
|
||||
- name: Deploy Gitea
|
||||
hosts: gitea_servers
|
||||
roles:
|
||||
- node_exporter
|
||||
- promtail
|
||||
- gitea
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
- name: Deploy monitoring stack
|
||||
hosts: monitoring_servers
|
||||
roles:
|
||||
- node_exporter
|
||||
- promtail
|
||||
- monitoring
|
||||
@@ -0,0 +1,17 @@
|
||||
---
|
||||
- name: Common setup for all VMs
|
||||
hosts: all
|
||||
roles:
|
||||
- common
|
||||
- node_exporter
|
||||
- promtail
|
||||
|
||||
- name: Monitoring stack
|
||||
hosts: monitoring_servers
|
||||
roles:
|
||||
- monitoring
|
||||
|
||||
- name: Gitea
|
||||
hosts: gitea_servers
|
||||
roles:
|
||||
- gitea
|
||||
Reference in New Issue
Block a user