Open marcelmamula opened 4 weeks ago
sap_install_media_detect currently updates /etc/hosts file with spaces, creating usable but unsightly output. Example of first line overwritten by role, while second line is kept unchanged.
sap_install_media_detect
/etc/hosts
10.10.10.170 je1scs.aws.com je1scs 10.10.10.138 je1ers.aws.com je1ers
Change from space to Tab \t as already done in https://github.com/sap-linuxlab/community.sap_infrastructure/blob/0e67afc14738c8731192ef9f5040496c4a96e9b1/roles/sap_vm_provision/tasks/common/set_etc_hosts.yml#L24
\t
@berndfinger @rhmk
Problem
sap_install_media_detect
currently updates/etc/hosts
file with spaces, creating usable but unsightly output. Example of first line overwritten by role, while second line is kept unchanged.Solution
Change from space to Tab
\t
as already done in https://github.com/sap-linuxlab/community.sap_infrastructure/blob/0e67afc14738c8731192ef9f5040496c4a96e9b1/roles/sap_vm_provision/tasks/common/set_etc_hosts.yml#L24@berndfinger @rhmk