# Unable to set parameter

**URL:** <https://forum.ansible.com/t/unable-to-set-parameter/35066>\
**Category:** Ansible Project\
**Created:** [April 27, 2021, 10:14am UTC](https://forum.ansible.com/t/unable-to-set-parameter/35066 "2021-04-27T10:14:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dean\_Verrell](https://avatars.discourse-cdn.com/v4/letter/d/ecae2f/32.png) [@Dean\_Verrell](https://forum.ansible.com/u/Dean_Verrell)\
**Post date:** [April 27, 2021, 10:14am UTC](https://forum.ansible.com/t/unable-to-set-parameter/35066/1 "2021-04-27T10:14:27Z")

</div>

Hello i want to use playbook to config router in towerm but i have error message unable to set parameter. In my router you must go to privilege exec mode and do ssh for remote

---- hosts: ‘{{ host }}’  
connection: network\_cli  
gather\_facts: false  
vars:  
ansible\_ssh\_user: ‘{{ ssh\_user }}’  
ansible\_ssh\_pass: ‘{{ ssh\_pass }}’  
ansible\_network\_os: ios  
ansible\_become: yes  
ansible\_become\_method: enable  
ansible\_become\_password: xxx  
tasks: - name: load new acl into device  
ios\_config:  
lines: - permit 10.x.x.x 0.0.0.255  
parents: ip access-list extended 99

---

<div class="post-metadata">

**Author:** ![Komal\_Suthar](https://avatars.discourse-cdn.com/v4/letter/k/919ad9/32.png) [@Komal\_Suthar](https://forum.ansible.com/u/Komal_Suthar)\
**Post date:** [April 27, 2021, 10:35am UTC](https://forum.ansible.com/t/unable-to-set-parameter/35066/2 "2021-04-27T10:35:59Z")

</div>

You can give the same in the inventory or define it in the default section or privilege\_escalation section in your ansible configuration file.
