ansible/roles/hostname/defaults/main.yml
2023-04-05 00:18:41 +02:00

24 lines
420 B
YAML

---
hostname__fqdn: "{{ inventory_hostname }}"
hostname__hosts:
- name:
- localhost
- "{{ hostname__fqdn }}"
- "{{ hostname__fqdn.split('.') | first }}"
address:
- 127.0.0.1
- ::1
- name:
- ip6-localhost
- ip6-loopback
address:
- ::1
- name:
- ip6-allnodes
address:
- ff02::1
- name:
- ip6-allrouters
address:
- ff02::2
...