Skip to content
This repository was archived by the owner on Oct 30, 2025. It is now read-only.
This repository was archived by the owner on Oct 30, 2025. It is now read-only.

become_user / Check for adequate privilege escalation rights #109

Description

@tabacha

Hi,

the role did not work for us, because we got an assert in in the check "Check for adequate privilege escalation rights",

I analyed this further and found out, that it works when I change the shell from /bin/false to bin/bash. But it was changed back in the Task: Ensure the Rocket.Chat service user is present

After I added become_flags: '-s /bin/bash' to the task "Check for adequate privilege escalation rights",and the task Install Rocket.Chat via NPM, the role works as wanted.

I did not know what is best practise to fix this, as there are more become methods than su.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions