# Playbook ignores attributes auth\_pass\\authorize and wont enter privilege mode.

**URL:** <https://forum.ansible.com/t/playbook-ignores-attributes-auth-pass-authorize-and-wont-enter-privilege-mode/27071>\
**Category:** Ansible Project\
**Created:** [March 21, 2018, 10:54pm UTC](https://forum.ansible.com/t/playbook-ignores-attributes-auth-pass-authorize-and-wont-enter-privilege-mode/27071 "2018-03-21T22:54:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![igor](https://avatars.discourse-cdn.com/v4/letter/i/dec6dc/32.png) [@igor](https://forum.ansible.com/u/igor)\
**Post date:** [March 21, 2018, 10:54pm UTC](https://forum.ansible.com/t/playbook-ignores-attributes-auth-pass-authorize-and-wont-enter-privilege-mode/27071/1 "2018-03-21T22:54:08Z")

</div>

Hi Everyone!

I am new to “Ansible”. I’ve created a playbook that backups cisco running config. My problem is that i get an error Invalid input detector “^” i did some digging and its alerting due to the command not running in privileged mode. I’ve tried using authorize and auth\_pass and it gives me an error saying :

[WARNING]: Ignoring invalid attribute: username

[WARNING]: Ignoring invalid attribute: authorize

[WARNING]: Ignoring invalid attribute: auth\_pass

[WARNING]: Ignoring invalid attribute: host

here is playbook:

---

<div class="post-metadata">

**Author:** ![mhalano](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/mhalano/32/1815_2.png) [@mhalano](https://forum.ansible.com/u/mhalano)\
**Post date:** [March 22, 2018, 4:06pm UTC](https://forum.ansible.com/t/playbook-ignores-attributes-auth-pass-authorize-and-wont-enter-privilege-mode/27071/2 "2018-03-22T16:06:47Z")

</div>

Options like "host" and "username" are part of provider option. You  
should check the options and also the indentation.

---

<div class="post-metadata">

**Author:** ![igor](https://avatars.discourse-cdn.com/v4/letter/i/dec6dc/32.png) [@igor](https://forum.ansible.com/u/igor)\
**Post date:** [March 22, 2018, 5:20pm UTC](https://forum.ansible.com/t/playbook-ignores-attributes-auth-pass-authorize-and-wont-enter-privilege-mode/27071/3 "2018-03-22T17:20:47Z")

</div>

Just an update.

I figured where authorize: yes and auth\_pass: cisco should stand…

Under “ios command:”

tasks:

- name: show run  
ios\_command:  
authorize: yes  
auth\_pass: cisco  
commands:

hope this helps if anyone is having same issue.
