You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---
#variant 1
- hosts: huaweiconnection: localgather_facts: novars:
ansible_network_os: community.network.cecli:
host: "{{ inventory_hostname }}"port: 22username: "{{ ansible_user }}"password: "{{ ansible_password }}"transport: clitasks:
- name: Get all interfaces link status informationcommunity.network.ce_link_status:
interface: allprovider: "{{ cli }}"#variant 2
- hosts: huaweiconnection: ansible.netcommon.network_cligather_facts: novars:
ansible_network_os: community.network.cetasks:
- name: Get all interfaces link status informationcommunity.network.ce_link_status:
interface: all
EXPECTED RESULTS
successfull connection
ACTUAL RESULTS
#variant 1
msg: connection local support for this module has been removed use either 'network_cli' or 'ansible.netcommon.network_cli' connection
#variant 2
msg: Connection type 'ansible.netcommon.network_cli' is not valid for 'community.network.ce_link_status' module.
at the same time module community.network.ce_command works with connection: ansible.netcommon.network_cli
The text was updated successfully, but these errors were encountered:
SUMMARY
Can't get it to work :)
ISSUE TYPE
COMPONENT NAME
community.network.ce_link_status
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Ubuntu 20.04.4 LTS
STEPS TO REPRODUCE
EXPECTED RESULTS
successfull connection
ACTUAL RESULTS
at the same time module community.network.ce_command works with
connection: ansible.netcommon.network_cli
The text was updated successfully, but these errors were encountered: