# Value of \`changed\` after a "search and remplace using \`sed\`?

**URL:** <https://forum.ansible.com/t/value-of-changed-after-a-search-and-remplace-using-sed/12833>\
**Category:** Ansible Project\
**Tags:** ansible-project\
**Created:** [May 20, 2013, 3:19pm UTC](https://forum.ansible.com/t/value-of-changed-after-a-search-and-remplace-using-sed/12833 "2013-05-20T15:19:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Coca1](https://avatars.discourse-cdn.com/v4/letter/b/278dde/32.png) [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Post date:** [May 20, 2013, 3:19pm UTC](https://forum.ansible.com/t/value-of-changed-after-a-search-and-remplace-using-sed/12833/1 "2013-05-20T15:19:54Z")

</div>

Lineinfile module will also work, but templates are better imho.

Brian Coca

---

<div class="post-metadata">

**Author:** ![Nicolas\_Grilly](https://avatars.discourse-cdn.com/v4/letter/n/77aa72/32.png) [@Nicolas\_Grilly](https://forum.ansible.com/u/Nicolas_Grilly)\
**Post date:** [May 21, 2013, 5:47pm UTC](https://forum.ansible.com/t/value-of-changed-after-a-search-and-remplace-using-sed/12833/2 "2013-05-21T17:47:05Z")

</div>

It looks like the consensus among list members is that templating is the better solution for my use case. I’ll do this. Thank you everybody!
