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

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

Brian Coca

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!