Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

sap_hana_install: Run hdbuserstore via su #848

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

berndfinger
Copy link
Member

Fixes #847.

... when running the hdbuserstore command.

Fixes sap-linuxlab#847.

Signed-off-by: Bernd Finger <bfinger@redhat.com>
Copy link
Contributor

@marcelmamula marcelmamula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doing su/sudo inside shell/command is not best, but did you try omit ?

become: "{{ true if ansible_user_id == 'root' else omit }}"
become_user: "{{ (sap_hana_install_sid | lower ~ 'adm') if ansible_user_id == 'root' else omit }}"

@berndfinger berndfinger marked this pull request as draft September 27, 2024 14:47
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants