ansible rework
This commit is contained in:
parent
67414814c0
commit
eecff4345a
47 changed files with 1995 additions and 538 deletions
30
ansible/inventory/group_vars/all/services.yaml
Normal file
30
ansible/inventory/group_vars/all/services.yaml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
# Service configuration for all hosts
|
||||
# Centralized service definitions to avoid hardcoding paths and ports
|
||||
|
||||
# Base paths for services
|
||||
services_base_path: "/opt"
|
||||
|
||||
# Service-specific paths (derived from base path)
|
||||
traefik_base_path: "{{ services_base_path }}/traefik"
|
||||
forgejo_base_path: "{{ services_base_path }}/forgejo"
|
||||
forgejo_runner_base_path: "{{ services_base_path }}/forgejo-runner"
|
||||
|
||||
# Service ports
|
||||
traefik_http_port: 80
|
||||
traefik_https_port: 443
|
||||
traefik_dashboard_port: 8080
|
||||
|
||||
forgejo_http_port: 3000
|
||||
forgejo_ssh_port: 2222 # External SSH port for Git operations
|
||||
forgejo_internal_ssh_port: 22 # Internal container SSH port
|
||||
|
||||
# WireGuard configuration
|
||||
wireguard_port: 60101
|
||||
wireguard_interface: "wg0"
|
||||
|
||||
# SSH configuration
|
||||
ssh_port: 22
|
||||
|
||||
# Docker configuration
|
||||
docker_network_name: "asxpio-net"
|
||||
Loading…
Add table
Add a link
Reference in a new issue