When running the sap_hana_install role using a non-root user, the task Create and Store Connection Info in hdbuserstore fails with Missing sudo password if the credentials for connecting to the <sid>adm user have not been provided before, because the task is running with <sid>adm as the become_user.
This can be avoided by calling the hdbuserstore command via su from the <sid>adm user.
When running the
sap_hana_install
role using a non-root user, the taskCreate and Store Connection Info in hdbuserstore
fails withMissing sudo password
if the credentials for connecting to the<sid>adm
user have not been provided before, because the task is running with<sid>adm
as thebecome_user
.This can be avoided by calling the
hdbuserstore
command viasu
from the<sid>adm
user.