Closed jeffkala closed 5 months ago
changing line 237 to result = task.run(task=netmiko_send_command, command_string=command, enable=True)
does work as a workaround.
Duplication steps:
show run
access unless they go into enable mode.Run a backup? What is this in relation to? @jeffkala
@jvanderaa this is related to GC plugin, where I was able to duplicate this.
Hey guys, any chance we could get @merriry's suggestion merged into the main library? The fix works great, but I'm currently having to maintain this workaround as part of our build process and its such a small thing I was hoping we could just make make it available by default.
https://github.com/nautobot/nornir-nautobot/blob/4d6a4da7388461b70a0115c00fd3cef1f768712f/nornir_nautobot/plugins/tasks/dispatcher/default.py#L237
Right now if you go into
>
mode on cisco_ios and you don't have permissions to runshow run
it isn't going to try theDEVICE_SECRET
and go into enable mode to get the config.The job itself shows successful but the backup itself in Git is saved as: