You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some nodes I'm getting weird hostnames, mostly localhost.localdomain. Those nodes show proper configuration in hostnamectl. I've seen you're using 'ansible_fqdn' as default.
If you don't want to change the default on this role, for fear of breaking things, maybe it should be noted on the README that users might need or want to change it on their playbooks.
This is half bug report, half feature request:
Describe the bug
In some nodes I'm getting weird hostnames, mostly
localhost.localdomain
. Those nodes show proper configuration inhostnamectl
. I've seen you're using 'ansible_fqdn' as default.Seems like ansible_fqdn and ansible_hostname can give different results, and sometimes even very weird results, as it sometimes makes DNS calls (which is not under my control in that cases) to infer that names.
Fix proposal
In my playbook I've added this parameter:
If you don't want to change the default on this role, for fear of breaking things, maybe it should be noted on the README that users might need or want to change it on their playbooks.
Installation method/version
Ansible Version
Targetted hosts
Concerns the following OS(es):
The text was updated successfully, but these errors were encountered: