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
I'm having troubles when provisioning a Dell switch N1524 with firmware v6.7.1.6. When using the ansible.netcommon.cli_config module I encounter a problem regarding the hostname retrieval fucntion, which I suspect links directly to this:
Traceback (most recent call last):
File "<stdin>", line 100, in <module>
File "<stdin>", line 92, in _ansiballz_main
File "<stdin>", line 40, in invoke_module
File "/usr/lib/python3.8/runpy.py", line 207, in run_module
return _run_module_code(code, init_globals, run_name, mod_spec)
File "/usr/lib/python3.8/runpy.py", line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/tmp/ansible_ansible.netcommon.cli_config_payload_r8tmh5cb/ansible_ansible.netcommon.cli_config_payload.zip/ansible_collections/ansible/netcommon/plugins/modules/cli_config.py", line 475, in <module>
File "/tmp/ansible_ansible.netcommon.cli_config_payload_r8tmh5cb/ansible_ansible.netcommon.cli_config_payload.zip/ansible_collections/ansible/netcommon/plugins/modules/cli_config.py", line 428, in main
File "/tmp/ansible_ansible.netcommon.cli_config_payload_r8tmh5cb/ansible_ansible.netcommon.cli_config_payload.zip/ansible/module_utils/connection.py", line 195, in __rpc__
ansible.module_utils.connection.ConnectionError: show running-config | grep hostname
^
% Invalid input detected at '^' marker.
sw-access-lan-07#
It's clear on my switch that the correct command should be show running-config | include hostname, since no grep is present. Am I just using a unsupported switch series or is it a legit finding?
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hi,
I'm having troubles when provisioning a Dell switch N1524 with firmware v6.7.1.6. When using the
ansible.netcommon.cli_config
module I encounter a problem regarding the hostname retrieval fucntion, which I suspect links directly to this:dellemc.os6/plugins/cliconf/os6.py
Line 60 in f676374
ansible error traceback:
It's clear on my switch that the correct command should be
show running-config | include hostname
, since nogrep
is present. Am I just using a unsupported switch series or is it a legit finding?Thanks in advance
The text was updated successfully, but these errors were encountered: