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

**URL:** <https://forum.ansible.com/t/hello-i-need-help-about-ana-error-when-im-trying-to-execute-ansible-on-a-switch-this-is-the-main-error/45242>\
**Category:** Get Help\
**Tags:** galaxy-ng, network\
**Created:** [February 2, 2026, 4:06pm UTC](https://forum.ansible.com/t/hello-i-need-help-about-ana-error-when-im-trying-to-execute-ansible-on-a-switch-this-is-the-main-error/45242 "2026-02-02T16:06:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Always\_Focus](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/always_focus/32/9636_2.png) [@Always\_Focus](https://forum.ansible.com/u/Always_Focus)\
**Post date:** [February 2, 2026, 4:06pm UTC](https://forum.ansible.com/t/hello-i-need-help-about-ana-error-when-im-trying-to-execute-ansible-on-a-switch-this-is-the-main-error/45242/1 "2026-02-02T16:06:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![bcoca](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/bcoca/32/9269_2.png) [@bcoca](https://forum.ansible.com/u/bcoca)\
**Post date:** [February 2, 2026, 4:16pm UTC](https://forum.ansible.com/t/hello-i-need-help-about-ana-error-when-im-trying-to-execute-ansible-on-a-switch-this-is-the-main-error/45242/2 "2026-02-02T16:16:38Z")

</div>

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`.
