Skip to content

fix become #6

Description

@jochen314

The script does not work, when executed locally as root user.
The script does not correctly switch to the tfenv_user user

 - name: Install tfenv
  become_user: "{{ tfenv_user }}" 

does not correctly switch the user.

The docu says:

become_user
set to user with desired privileges — the user you become, NOT the user you login as. **Does NOT imply become: yes**, to allow it to be set at host level. Default value is root.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions