<a href="https://social.shadowkat.net/tag/ansible">#ansible</a> question: Is there any module that natively supports replacing string in a file, and rather than writing it back to the same place, writing the modified file somewhere else?<br /><br />Gue...
-
#ansible question: Is there any module that natively supports replacing string in a file, and rather than writing it back to the same place, writing the modified file somewhere else?
Guess I could probably bodge something together by making a temporary file, modifying that, and only reporting changes if copying the new file to the old modified file changes, but I was hoping I could just use a module that took a src: and a dest: y'know
Copyright © 2024 NodeBB | Contributors