ansible-collections / dellemc.os6

GNU General Public License v3.0
8 stars 13 forks source link

Can't pull configuration #53

Open rfreddy opened 2 years ago

rfreddy commented 2 years ago

Hi I'm trying to pull out the configuration from a N4032F running 6.3.1.13 but I've been unsuccessful. Can anyone here help me?

This is the playbook:

PLAY [dellos6] ***


And this is the output:

TASK [Gather Dell EMC OS6 Device Conf] *** fatal: [roc-ac20-sw1]: FAILED! => {"changed": false, "msg": "unable to retrieve current config", "stderr": "show running-config\r\n ^\r\n% Invalid input detected at '^' marker.\r\n\r\nroc-ac20-sw1>", "stderr_lines": ["show running-config", " ^", "% Invalid input detected at '^' marker.", "", "roc-ac20-sw1>"]}

PLAY RECAP *** roc-ac20-sw1 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

Thank you and have a great day,

Freddy

ChristopherBorn commented 1 year ago

looks like you might need to enter "enabled' mode, probably by using the "become" option. Might be easiest to set "ansible_become" to True in the inventory, and providing the password (use vault to hide it).