chore: complete update
This commit is contained in:
45
ansible/nginx-cdn-germany/inventories/production/hosts.yml
Normal file
45
ansible/nginx-cdn-germany/inventories/production/hosts.yml
Normal file
@@ -0,0 +1,45 @@
|
||||
---
|
||||
# Inventar für deutsches CDN
|
||||
|
||||
all:
|
||||
children:
|
||||
origin_servers:
|
||||
hosts:
|
||||
origin1.example.de:
|
||||
ansible_host: 192.168.1.10 # Ändere diese IP
|
||||
datacenter: "Frankfurt"
|
||||
origin2.example.de:
|
||||
ansible_host: 192.168.1.11 # Ändere diese IP
|
||||
datacenter: "Frankfurt"
|
||||
|
||||
cdn_nodes:
|
||||
hosts:
|
||||
# Frankfurt - Primary
|
||||
cdn-fra1.example.de:
|
||||
ansible_host: 10.0.1.10 # Ändere diese IP
|
||||
city: "Frankfurt"
|
||||
region: "Hessen"
|
||||
tier: "primary"
|
||||
cache_size: "50g"
|
||||
|
||||
# Hamburg - Secondary
|
||||
cdn-ham1.example.de:
|
||||
ansible_host: 10.0.2.10 # Ändere diese IP
|
||||
city: "Hamburg"
|
||||
region: "Hamburg"
|
||||
tier: "secondary"
|
||||
cache_size: "20g"
|
||||
|
||||
# München - Secondary
|
||||
cdn-muc1.example.de:
|
||||
ansible_host: 10.0.3.10 # Ändere diese IP
|
||||
city: "München"
|
||||
region: "Bayern"
|
||||
tier: "secondary"
|
||||
cache_size: "20g"
|
||||
|
||||
vars:
|
||||
# SSH-Konfiguration
|
||||
ansible_user: root
|
||||
ansible_ssh_private_key_file: ~/.ssh/id_rsa
|
||||
ansible_ssh_common_args: '-o StrictHostKeyChecking=no'
|
||||
Reference in New Issue
Block a user