Gineesh
Flight Engineer
Flight Engineer
  • 5,217 Views

Ansible Modules for HP Switches (Comware 7)

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

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

Labels (4)
0 Kudos
6 Replies
hal2069
Cadet
Cadet
  • 4,422 Views

I am also interested in the topic :)

0 Kudos
  • 4,324 Views

we have already dropped that plan to use those and used direct "raw" commands instead

0 Kudos
MaximeA
Cadet
Cadet
  • 4,339 Views

I also think it's not maintained anymore. Getting errors while trying simple comware_ping & comware_facts command. I'm using Ansible 2.9.16.

0 Kudos
  • 4,325 Views

Yeah. 
we have already dropped that plan to use those and used direct "raw" commands instead

0 Kudos
Markolo95
Cadet
Cadet
  • 3,118 Views

Hy!

How did you achieve to use the "cli_command"? I mean what did you use at "ansible_network_os", and "connection"?

Thanks.

0 Kudos
Gineesh
Flight Engineer
Flight Engineer
  • 2,118 Views

my apologies as I have overlooked this question.

Hope you have already found a solution for the same.

Anyway, sharing from my side (as per my old records as it was done in middle of 2020) 

[labds:vars]
ansible_network_os=auto
ansible_connection=netconf
ansible_password=password
ansible_username=hpuser
ansible_user=hpuser
ansible_ssh_user=hpuser
0 Kudos
Join the discussion
You must log in to join this conversation.