Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paramiko error using community.routeros.command in playbook #852

Open
salgua opened this issue Feb 3, 2022 · 2 comments
Open

Paramiko error using community.routeros.command in playbook #852

salgua opened this issue Feb 3, 2022 · 2 comments

Comments

@salgua
Copy link

salgua commented Feb 3, 2022

Hi,
I'm trying to use community.routeros.command in a playbook using semaphore on last stable version on Ubuntu 18.04. I always obtain this error:

12:32:27 PM
TASK [community.routeros.command] **********************************************
12:32:30 PM
fatal: [routeros-03]: FAILED! => changed=false
12:32:30 PM
msg: 'paramiko is not installed: No module named ''paramiko'''

I tried to install paramiko with

apt install python3-paramiko

but it doesn't solve the issue. I installed Semaphore with snap, I think snap uses own versions of Python and Ansible. How can I solve this issue?

@fiftin
Copy link
Collaborator

fiftin commented Feb 3, 2022

Yes, it is true, snap uses internal version of Python and Ansible. I will try to reproduce and answer soon.

@fiftin
Copy link
Collaborator

fiftin commented Feb 6, 2022

Hi @salgua ,

Try next:

sudo -s
cd /root/snap/semaphore/common/ansible_env/bin
source ./activate
pip3 install paramiko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants