Beispiele auf Englisch übersetzt

This commit is contained in:
2026-04-11 11:53:16 +02:00
parent 3574ce95f2
commit 71d811d087

View File

@@ -1,18 +1,18 @@
# =============================================================
# Beispiel-Inventory: inventory
# Example Inventory: inventory
# =============================================================
[nebula_lighthouse]
lighthouse1.example.com
lighthouse2.example.com
[servers]
web01.example.com nebula_internal_ip_addr=10.43.0.10
web01.example.com nebula_internal_ip_addr=10.43.0.10
docker01.example.com nebula_internal_ip_addr=10.43.0.11
db01.example.com nebula_internal_ip_addr=10.43.0.12
db01.example.com nebula_internal_ip_addr=10.43.0.12
# =============================================================
# Beispiel-Playbook: nebula.yml
# Example Playbook: nebula.yml
# =============================================================
---
- name: Deploy Nebula (multi-lighthouse)
@@ -25,9 +25,9 @@ db01.example.com nebula_internal_ip_addr=10.43.0.12
nebula_network_name: "My Company Nebula"
nebula_network_cidr: 16
# --- Multi-Lighthouse-Konfiguration ---
# Der ERSTE Eintrag ist der Primary (hostet CA-Schlüssel).
# Alle weiteren sind Secondaries.
# --- Multi-Lighthouse Configuration ---
# The FIRST entry is the primary (hosts the CA key).
# All additional entries are secondaries.
nebula_lighthouses:
- hostname: lighthouse1
internal_ip: 10.43.0.1
@@ -43,27 +43,27 @@ db01.example.com nebula_internal_ip_addr=10.43.0.12
nebula_firewall_block_action: reject
nebula_inbound_rules:
- { port: "any", proto: "icmp", host: "any" }
- { port: 22, proto: "tcp", host: "any" }
- { port: 22, proto: "tcp", host: "any" }
nebula_outbound_rules:
- { port: "any", proto: "any", host: "any" }
- { port: "any", proto: "any", host: "any" }
roles:
- role: nebula
# =============================================================
# WICHTIG: Hostname im Inventory muss dem hostname-Feld in
# nebula_lighthouses entsprechen!
# IMPORTANT: The hostname in the inventory must match the
# hostname field in nebula_lighthouses!
#
# lighthouse1.example.com hostname: lighthouse1
# lighthouse2.example.com hostname: lighthouse2
# lighthouse1.example.com hostname: lighthouse1
# lighthouse2.example.com hostname: lighthouse2
#
# Die Rolle sucht den passenden Eintrag per:
# selectattr('hostname', 'equalto', inventory_hostname)
# The role looks up the matching entry using:
# selectattr('hostname', 'equalto', inventory_hostname)
#
# Falls du FQDNs als hostname-Feld nutzen willst:
# - hostname: lighthouse1.example.com
# ...
# und im Inventory ebenfalls:
# lighthouse1.example.com
# =============================================================
# If you want to use FQDNs as the hostname field:
# - hostname: lighthouse1.example.com
# ...
# and in the inventory as well:
# lighthouse1.example.com
# =============================================================