ansible playbooks for retailor.io infrastructure

This commit is contained in:
2025-03-03 19:33:36 +01:00
committed by KevinMidboe
commit 92cb10ba27
139 changed files with 33603 additions and 0 deletions

12
group_vars/all.yml Normal file
View File

@@ -0,0 +1,12 @@
---
install_cadvisor_exporter: false
install_nginx_exporter: false
install_redis_exporter: false
users:
- username: forge
oh_my_zsh:
theme: robbyrussell
- username: root
oh_my_zsh:
theme: robbyrussell

7
group_vars/app.yml Normal file
View File

@@ -0,0 +1,7 @@
---
custom_firewall_ports:
- 2049
- 1111
apt_packages:
- nfs-server
description: 'app node for hosting retailor database & persistent assets, serves NFS mount'

5
group_vars/cache.yml Normal file
View File

@@ -0,0 +1,5 @@
---
custom_firewall_ports:
- 6379
install_redis_exporter: true
description: 'cache node for retailor redis cache'

10
group_vars/hetzner.yml Normal file
View File

@@ -0,0 +1,10 @@
---
install_cadvisor_exporter: true
users:
- username: kevin
oh_my_zsh:
theme: robbyrussell
- username: root
oh_my_zsh:
theme: robbyrussell

6
group_vars/lb.yml Normal file
View File

@@ -0,0 +1,6 @@
---
custom_firewall_ports:
- 80
- 443
install_nginx_exporter: true
description: "load balancer serving web servers for retailor.io"

8
group_vars/web.yml Normal file
View File

@@ -0,0 +1,8 @@
---
custom_firewall_ports:
- 80
- 443
apt_packages:
- nfs-common
install_nginx_exporter: true
description: 'webserver node for hosting retailor laravel project'

4
group_vars/worker.yml Normal file
View File

@@ -0,0 +1,4 @@
---
apt_packages:
- nfs-common
description: 'queue server for laravel'