- Community Home
- >
- Networking
- >
- Legacy
- >
- Switching and Routing
- >
- Re: Ansible for Comware
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2020 05:22 AM
05-30-2020 05:22 AM
Ansible for Comware
A customer of us has a gazillion of comware switches. They want automate configuration of the same using Ansible. Yet we are not finding any playbooks, modules, or collections in the standard Ansible galaxy.
All we found is OneView related. We also find this on github: https://github.com/HPENetworking/ansible-hpe-cw7 .But this is unmaintained and I do not think anyone is using this in production.
Can you help me understand where to find official HPE comware Ansible modules? If there is none, what do you recommend and what is the message to pass to the customer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2020 06:11 PM
06-01-2020 06:11 PM
Re: Ansible for Comware
Hi,
There is no specific document is available for comware, you need to reach out to support for the same.
Can you search HP Comware Ansible Modules, you will get hp-ansible readthedoc?
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2020 06:24 PM
06-01-2020 06:24 PM
Re: Ansible for Comware
We are using ansible-hpe-cw7 for configuring our HP devices. Because it's not good maintenance so we have to customize our own lib for operation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2020 11:09 AM
06-02-2020 11:09 AM
Re: Ansible for Comware
Hi,
Can you search HP Comware Ansible Modules, you will get hp-ansible readthedoc, it is more managed link.
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2020 07:07 AM
06-05-2020 07:07 AM
Re: Ansible for Comware
Thanks a lot. That documentation point to a github repo that doesn't exist:
https://github.com/networktocode/hp-ansible
Is this module on galaxy? I could not find it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2020 09:05 AM
06-07-2020 09:05 AM
Re: Ansible for Comware
Hi,
Can you check under Modules-->All modules on the same page.
If its not helpful then please log a case with support.
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2020 04:42 AM
06-08-2020 04:42 AM
Re: Ansible for Comware
Yes, "All Modules" link works. But it is just the documentation. Where is the actual module code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2020 11:40 PM
06-14-2020 11:40 PM
Re: Ansible for Comware
Find it here
https://github.com/HPENetworking/ansible-hpe-cw7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2021 01:10 AM
01-20-2021 01:10 AM
Re: Ansible for Comware
how ddid you create new library?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2021 11:36 PM - edited 03-08-2021 01:29 AM
03-04-2021 11:36 PM - edited 03-08-2021 01:29 AM
Re: Ansible for Comware
Hi,
Thanks for pointing this out.
I see username, password has been used in all examples. And i the code it has been given as mandatory fields. is there a way from which we can avoid username/password/hostname for each task?
We are seeing socket error which we are triggring playbook to check whether vlan exists or not.
"module_stdout": "",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": 1
}
Any idea what might cause this issue?
Thanks,
Rajas