Ansible old Procurve switch

Hi, I’ve to use ansible playbooks with old Procurve switch (2626 or 2650).
Switch have only telnet and ssh1

Can you help me to find right connection protocol to change switch configuration?
Thank you

1 Like

Welcome to the forum, @uzzi!

The connection protocol you want is ssh (libssh or paramiko), and the ansible connection plugin for that is ansible.netcommon.network_cli.

You can then use the ansible.netcommon.cli_config or ansible.netcommon.cli_command modules to push configuration to the switch.

There is also a telnet module, but I would not recommend using that.