couldn't resolve module/action 'community.network.ne_command'

51 views
Skip to first unread message

Azadeh Amirhosseini

unread,
Jun 19, 2023, 10:27:54 AM6/19/23
to Ansible Project
Hi All,
bellow is a part of my playbook which tries to connect to a Huawei ne device.

---
- hosts: hostlist
  gather_facts: no
  connection: network_cli
  collections: community.network

  tasks:
    - name: "Commands NE Huawei"
      no_log: false
      community.network.ne_command:
        commands:


but after running the playbook, i get the error message:
ERROR! couldn't resolve module/action 'community.network.ne_command'. This often indicates a misspelling, missing collection, or incorrect module path.


apart all i have installed:
ansible-galaxy collection install huaweidatacom.ne
ansible-galaxy collection install ansible.netcommon
ansible-galaxy collection install community.network
ansible-galaxy collection install huaweidatacom-ne-1.0.4.tar.gz
ansible-galaxy install ansible-network.network-engine

any suggestion/help please?
Reply all
Reply to author
Forward
0 new messages