-
Notifications
You must be signed in to change notification settings - Fork 10
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
ssh into switch terminal using ansible #21
Comments
Hi @Avish34 ! Can you please share your playbook and would you be willing to use our AOS-CX Collection instead of the role? We've stopped supporting the role for development and are now primarily focusing on increasing feature breadth and quality on the Collection. For examples on how to use the collection you can see our workflows Github and here's a link to a specific SSH/CLI module usecase. You may need to remove the variable |
Hi, @tchiapuziowong. I was hitting some error while using ansible collection, let me post that as well.
|
Playbook :
|
Hi, What ansible version ? The module need Python 3 (don't work with Python 2.x) |
|
@Avish34 I would recommend going through Ansible's documentation on how to upgrade/install to a version that uses Python3 Once that's done you should follow these instructions for installing the collection and the python requirements: |
Hi,
I wanted a help regarding ssh into switch. When I ssh into switch, it takes me to shell prompt. But I want to reach to terminal using anisble. Please help me out. Also using ssh ansible fails because it's not able to run commands in shell prompt.
Shell prompt:
Ansible error :
Terminal
The text was updated successfully, but these errors were encountered: