Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

Rerunning bootstrap.sh as new user makes ansible use old python path (bad interpreter: Permission denied) #282

Open
@gratituliarity

Description

  • I've read the FAQ and my problem isn't described there.
  • I've also searched through the existing issues, and my problem hasn't been brought up

Describe the issue
The playbook copies the ansible-easy-vpn dir to the new user account but it cannot be run from there.
The Error states Permission denied because it still tries to use python from the old directory.

Logs

bootstrap.sh: /home/newUser/ansible-easy-vpn/.venv/bin/ansible-galaxy: /home/oldUser/ansible-easy-vpn/.venv/bin/python3: bad interpreter: Permission denied

Environment:

  • Client OS: Linux
  • Debian 12

Activity

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

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions