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
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).
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] ***********************************************************************************************************************************
hosts: [dellos6]
connection: network_cli
collections:
gather_facts: no
tasks:
os6_config:
backup: yes
backup_options:
dir_path: /home/rfreddy/ansible
filename: "{{ inventory_hostname }}.conf"
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
The text was updated successfully, but these errors were encountered: