Developer Community

Reply
Occasional Contributor I

Re: How to install/use CLI modules and tasks for Switch and CX in Ansible

Thanks for your reply.

 

Regarding powershall - nice!, but would love to see port-access with ansible module.

 

Occasional Contributor I

Re: How to install/use CLI modules and tasks for Switch and CX in Ansible

Hello, 

 

I have installed all the Aruba ansible modules and switch module. I can connect to Aruba switch using the Aruba ansible modules and make changes however I cannot use the SSH module. 

 

I get the below error when I use the SSH module. Any idea what could be the issue? 

 

ERROR! 'arubaos_switch_ssh_cli' is not a valid attribute for a Play

 

Aruba Employee

Re: How to install/use CLI modules and tasks for Switch and CX in Ansible

Hi tarunagghi!

 

Could you please open another thread with a copy of what your playbook looks like as well as the error you're seeing??

 

From what it sounds like, it could be an issue with Ansible finding the arubaos_switch_ssh_cli module or indentation, but I can't say for sure without seeing the code.

 

Thank you!

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: