# Replace Config

**URL:** <https://forum.ansible.com/t/replace-config/26365>\
**Category:** Ansible Project\
**Created:** [December 21, 2017, 8:13pm UTC](https://forum.ansible.com/t/replace-config/26365 "2017-12-21T20:13:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anagha\_Kelkar](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@Anagha\_Kelkar](https://forum.ansible.com/u/Anagha_Kelkar)\
**Post date:** [December 21, 2017, 8:13pm UTC](https://forum.ansible.com/t/replace-config/26365/1 "2017-12-21T20:13:04Z")

</div>

My customer is using Ansible, Python v2.7 and is trying to replace the config but he is unable to replace the Cisco IOS XR config, he can only merge it  
Will adding the “replace: config” help? Is it supported?

Thanks

```auto
name: load a config from disk and replace the current config
  iosxr_config:
    src: config.cfg
    backup: yes
    **replace: config**

```
