hello i need help about ana error when i'm trying to execute ansible on a switch. this is the main error

TASK [Test connexion SSH basique] **************************************************************************************************************************
fatal: [switch1]: FAILED! => {“msg”: “network os ansible.netcommon.network_cli is not supported”}

PLAY RECAP *************************************************************************************************************************************************
switch1 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

Normally you want to give more information, specially configuration and -vvv output. But from the message I’m going to guess you are setting ansible_network_os to ansible.netcommon.network_cli which is not correct AFAIK, it should match the brand/platform of your appliances, for example cisco.ios.ios or vyos.vyos.vyos.

1 Like