# Ansible Modules for HP Switches (Comware 7)

**URL:** <https://forum.ansible.com/t/ansible-modules-for-hp-switches-comware-7/33182>\
**Category:** Ansible Project\
**Created:** [June 15, 2020, 10:36am UTC](https://forum.ansible.com/t/ansible-modules-for-hp-switches-comware-7/33182 "2020-06-15T10:36:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gineesh](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/gineesh/32/956_2.png) [@gineesh](https://forum.ansible.com/u/gineesh)\
**Post date:** [June 15, 2020, 10:36am UTC](https://forum.ansible.com/t/ansible-modules-for-hp-switches-comware-7/33182/1 "2020-06-15T10:36:37Z")

</div>

Hi Guys,  
Hope all are doing good.

I was developing some latest playbooks for HP Switches (HP 5130 - CMW710) and noticed the 3rd party modules (refer link below) are not working any more with latest Ansible version (ansible 2.9.9). Also I found the repository is not maintained anymore (or last update was few years ago).

Module Repo : [https://github.com/HPENetworking/ansible-hpe-cw7](https://github.com/HPENetworking/ansible-hpe-cw7)  
Documentation : [https://hp-ansible.readthedocs.io/en/latest/index.html](https://hp-ansible.readthedocs.io/en/latest/index.html)

Could anyone advise if there are Ansible modules for HP switches ? (eg: HP 5130)  
Or any other best practice to implement Ansible for HP Network Automation ?

Notes:

- I have tried raw, cli\_commands like modules to achive the dirty way of executing commands, but failed with those.

- Already enabled netconf on devices but still fail with ansible\_connection=network\_cli or ansible\_connection=netconf

Thanks in advance.
