ansible-collections / community.yang

Ansible Community Collection to support Yang in network devices.
GNU General Public License v3.0
10 stars 14 forks source link

Traceback in fetch when the ansible_connection is set to ansible.netcommon.network_cli #19

Closed cidrblock closed 4 years ago

cidrblock commented 4 years ago
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.module_utils.connection.ConnectionError: get() got an unexpected keyword argument 'filter'
fatal: [nxos101]: FAILED! => {"msg": "Unexpected failure during module execution.", "stdout": ""}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ansible.module_utils.connection.ConnectionError: get() got an unexpected keyword argument 'filter'
fatal: [eos101]: FAILED! => {"msg": "Unexpected failure during module execution.", "stdout": ""}

Wondering if we can handle this more gracefully, possibly checking for a netconf like connection or at least provide an error message that there may be an issue with the connection type