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
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
Metadata
Assignees
Labels
No labels
Activity