be31fead2f
Turns out we have had many issues with random servers having wrong hostname and /etc/hosts info. This playbook/role allows to configure that by passing -e "target=<hostname>" as ansible-playbook parameter. Change-Id: I73939ebc65211a840bb41370c22b111112389716
3 lines
97 B
Django/Jinja
3 lines
97 B
Django/Jinja
127.0.0.1 localhost
|
|
127.0.1.1 {{ inventory_hostname }} {{ inventory_hostname.split('.', 1)[0] }}
|