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
I assume it's expected that it will be expanded as
127.0.1.1 host.fqdn hostname
but ansible_nodename on Debian based OS will expand into hostname only not into fqdn, as result line in hosts will be like
127.0.1.1 hostname hostname
That is not expected behavior.
Also it's will be great to allow user completely skip hosts file management, it's not good pattern to manage config files with search and replace. I.e. variable can be added like rocket_chat_manage_hosts: true and in task check this var
Currently playbook will update hosts with line
I assume it's expected that it will be expanded as
but
ansible_nodename
on Debian based OS will expand into hostname only not into fqdn, as result line in hosts will be likeThat is not expected behavior.
Also it's will be great to allow user completely skip hosts file management, it's not good pattern to manage config files with search and replace. I.e. variable can be added like
rocket_chat_manage_hosts: true
and in task check this varI implemented these changes in my fork if they looks fine I will create PR.
The text was updated successfully, but these errors were encountered: