# Push Configuration file into router

**URL:** <https://forum.ansible.com/t/push-configuration-file-into-router/33980>\
**Category:** Ansible Project\
**Created:** [October 7, 2020, 9:14am UTC](https://forum.ansible.com/t/push-configuration-file-into-router/33980 "2020-10-07T09:14:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![L\_T](https://avatars.discourse-cdn.com/v4/letter/l/9de0a6/32.png) [@L\_T](https://forum.ansible.com/u/L_T)\
**Post date:** [October 7, 2020, 9:14am UTC](https://forum.ansible.com/t/push-configuration-file-into-router/33980/1 "2020-10-07T09:14:13Z")

</div>

Hello all,

I am configuring Cisco Router through Ansible tower(2.9).  
I am able to take backup of the Running configuration in file.  
How can i push back the same running configuration through file in the router.  
Please some one help with yaml code for this…

---

<div class="post-metadata">

**Author:** ![Shubham\_Chavan](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@Shubham\_Chavan](https://forum.ansible.com/u/Shubham_Chavan)\
**Post date:** [October 7, 2020, 10:18am UTC](https://forum.ansible.com/t/push-configuration-file-into-router/33980/2 "2020-10-07T10:18:00Z")

</div>

- name: load configuration  
Cisco.ios.ios\_config:  
src: path to your source file ( same backup file)

Let me know if it works

---

<div class="post-metadata">

**Author:** ![L\_T](https://avatars.discourse-cdn.com/v4/letter/l/9de0a6/32.png) [@L\_T](https://forum.ansible.com/u/L_T)\
**Post date:** [October 8, 2020, 11:53am UTC](https://forum.ansible.com/t/push-configuration-file-into-router/33980/3 "2020-10-08T11:53:18Z")

</div>

Hello,

Thanks for he reply.  
Can you please tell how to provide path of the destination file? for example my destination device will be cisco router with xx.xx.xx.xx ip address
