cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1696
Views
5
Helpful
3
Replies

Get configuration backup using ansible

yuganwimukthi
Level 1
Level 1

I created a playbook for cisco router configuration backup but after executing my command below error occurred.i'm a new user for Ansible hence please help me to solve this problem.

 

fatal: [xx]: FAILED =>["changed": false, "msg": "unable to elevate privilege to enable mode, at prompt [xxxx] with error: failed to elevate privilege to enable mode still at promt [xxx]

1 Accepted Solution

Accepted Solutions

Hi

 This is not an Ansible problem. The message seems clear, the script try to run the command "enable" and had no privilege. Probably the user you are using to connect to the device has no privilege.

View solution in original post

3 Replies 3

Hi

 This is not an Ansible problem. The message seems clear, the script try to run the command "enable" and had no privilege. Probably the user you are using to connect to the device has no privilege.

yuganwimukthi
Level 1
Level 1

Dear Flavio Maranda,

Thank you for your feedback. I enabled my router secret password after that playbook worked properly.

fmugambi
Spotlight
Spotlight

How does your playbook look like, am stuck with same problem, but different error,

fmugambi_0-1711529928008.png

 

Review Cisco Networking for a $25 gift card