I am currently working on a small Ansible project. We are currently using XIQ to access various ERS and VSP devices from Extreme Networks. This is being phased out as the license costs are far too high. With Ansible, I have already managed to access the VSP using a module (community.network.voss). However, I am having trouble executing CLI commands on devices running BOSS (Baystack Operating System Switching), such as the ERS3626GTS-PWR+. Unfortunately, I have not found a module for this; is there one that I might be overlooking? The goal is simply to execute CLI commands on the devices.
I have tried using ansible.builtin.ssh which resulted in the following error message:
fatal: [X.X.X.X]: FAILED! => {“msg”: “network os ansible.builtin.ssh is not supported”}
But I may have missed the modules you’ve listed. I’ll give them a try once I arrive at work.
Yes I can SSH to the devices, they have a normal CLI which you can access via SSH. Maybe there is a problem in my Inventory.ini since thats the place where I defined the network os which then uses the ansible.builtin.ssh
Hello to all, I habe the same issue with the BOSS based Switches. Has anyone found a solution on this?
As far as I’ve figured out, it’s due to the command pass from Ansible to sshpass. Ansible is passing a shell call that can’t work because no shell is present. The shell call is as follows: ‘/bin/sh -c ‘"’“‘echo ~RW && sleep 0’”’"‘’
Does anyone have any idea how to disable this shell call?
Regards and many thanks in Advance for your support
Rolf
Hello, does anyone have an idea to solve the problem?
The ping module behaves the same way. In addition to the “show clock” argument, a shell call is passed.
sudo -H -S -n -u root /bin/sh -c ‘"’“‘echo BECOME-SUCCESS-kimxyplsdcwnvuwrtjfsymyvmgniumwn ; show clock’”‘"’'-
Is there a way to prevent this shell call?