03-09-2022 10:25 AM
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]
Solved! Go to Solution.
03-09-2022 11:40 AM
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.
03-09-2022 11:40 AM
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.
03-10-2022 10:24 AM
Dear Flavio Maranda,
Thank you for your feedback. I enabled my router secret password after that playbook worked properly.
03-27-2024 01:58 AM
How does your playbook look like, am stuck with same problem, but different error,
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide