aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-06-24 13:42:17 +0300
committerheqnx <root@heqnx.com>2025-06-24 13:42:17 +0300
commit5b991e1a11faa14822bc2ea27b8dcb949e12ba61 (patch)
tree9aa9cb08715c6ebb1996e5b8a7f28b7aae0ef86e /templates
parent3115a425134f836676da5827582719fe88f0f4ff (diff)
downloadansible-pve-host-5b991e1a11faa14822bc2ea27b8dcb949e12ba61.tar.gz
ansible-pve-host-5b991e1a11faa14822bc2ea27b8dcb949e12ba61.zip
added random hex to hostname
Diffstat (limited to 'templates')
-rw-r--r--templates/hosts.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/hosts.j2 b/templates/hosts.j2
index 3d811dc..647360e 100644
--- a/templates/hosts.j2
+++ b/templates/hosts.j2
@@ -1,5 +1,5 @@
127.0.0.1 localhost
-{{ ansible_host }} {{ hostname }} {{ hostname }}
+{{ ansible_host }} {{ pve_hostname }} {{ pve_hostname }}
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback