Skip to content

write-ssh-config playbook seems incompatible with Python venv #3821

Closed
@targos

Description

To reproduce, in a checkout of this repo:

python3 -m venv .venv
. .venv/bin/activate
pip install ansible Jinja2
ansible-playbook ansible/playbooks/write-ssh-config.yml

Errors with: /bin/sh: /usr/bin/env python3: No such file or directory

I can work around it by editing the shebang of ssh_config.py to be a direct absolute path to .venv/bin/python3.

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions