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
'dellemc.os6.os6_config:" I am unable to use this module- I get the error msg- unable to retrieve current config when the file os6.py line 103 has command "show running-config" if I shrink down the contents for the command with something like this"show running-config | begin snmp" it works, but that isnt the right way
The full traceback is:
File "/Users/mbachhav/.ansible/collections/ansible_collections/dellemc/os6/plugins/module_utils/network/os6.py", line 108, in get_config
return _DEVICE_CONFIGS[cmd]
"msg": "unable to retrieve current config",
The text was updated successfully, but these errors were encountered:
If you go to this python file
"dellemc/os6/plugins/module_utils/network/os6.py",
and edit line 108 with anything like "show version" or "show snmp" instead
of "show running-config" the playbook works, but since the playbook doesn't
have the initial config to compare before and after, the playbook will
always return "changed" even if nothing was changed.
On Fri, Jun 23, 2023 at 11:40 PM Kyle Weicht ***@***.***> wrote:
I'm seeing the same thing, but can't seem to find a workaround. Filtering
the output doesn't seem to help. I can repro with every role:
`
- hosts: dell-switch
strategy: linear
gather_facts: false
force_handlers: true
roles:
- dellemc.os6.os6_aaa`
—
Reply to this email directly, view it on GitHub
<#60 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIFD4MKP5UKPCUOUVP27NHLXMZOT3ANCNFSM6AAAAAAY3EAJYI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
SUMMARY
'dellemc.os6.os6_config:" I am unable to use this module- I get the error msg- unable to retrieve current config when the file os6.py line 103 has command "show running-config" if I shrink down the contents for the command with something like this"show running-config | begin snmp" it works, but that isnt the right way
ISSUE TYPE
COMPONENT NAME
dellemc.os6.os6_config
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
Dell Switch OS 6.5.1.1
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: