ansible/roles/hostname/defaults/main.yml

25 lines
420 B
YAML
Raw Normal View History

2023-04-05 00:18:41 +02:00
---
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
...