added hostname vars, fixed some hosts ipv6 stuff

This commit is contained in:
2026-01-05 22:37:13 +01:00
parent 1db6cff65e
commit 90329647fc
2 changed files with 6 additions and 0 deletions

View File

@@ -5,4 +5,6 @@
content: |
127.0.0.1 localhost.localdomain localhost
::1 localhost.localdomain localhost
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
{{ PUBLIC_IP }} {{ HOSTNAME }} {{ HOSTNAME_SHORT }}

4
vars/hostname.yml Normal file
View File

@@ -0,0 +1,4 @@
---
HOSTNAME: host.example.com
HOSTNAME_SHORT: host
PUBLIC_IP: 192.168.1.101