ansible
This commit is contained in:
parent
7974e36c1b
commit
b81f7e15b2
41 changed files with 1632 additions and 0 deletions
45
ansible/inventory/hosts.yaml
Normal file
45
ansible/inventory/hosts.yaml
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
---
|
||||
# Ansible inventory for asxpio infrastructure
|
||||
# Update IP addresses after running terraform apply
|
||||
|
||||
all:
|
||||
vars:
|
||||
ansible_user: root
|
||||
ansible_python_interpreter: /usr/bin/python3
|
||||
|
||||
children:
|
||||
asxpio:
|
||||
vars:
|
||||
# Common variables for all asxpio servers
|
||||
timezone: UTC
|
||||
locale: en_US.UTF-8
|
||||
|
||||
children:
|
||||
ops_servers:
|
||||
hosts:
|
||||
asxpio-ops:
|
||||
ansible_host: 10.20.0.10 #65.109.14.216
|
||||
server_role: ops
|
||||
server_type: cx22
|
||||
services:
|
||||
- traefik
|
||||
- forgejo
|
||||
- grafana
|
||||
- prometheus
|
||||
- loki
|
||||
- static_sites
|
||||
|
||||
services_servers:
|
||||
hosts:
|
||||
asxpio-services:
|
||||
ansible_host: 10.20.0.20 #95.217.15.42
|
||||
server_role: services
|
||||
server_type: cx43
|
||||
services:
|
||||
- forgejo_runner
|
||||
- immich
|
||||
- minecraft
|
||||
- valheim
|
||||
- factorio
|
||||
- prosody
|
||||
- coturn
|
||||
Loading…
Add table
Add a link
Reference in a new issue