On 2015-11-07 08:31, Dan Ritter wrote: > > Let me suggest that editing files in place is a really finicky > operation, and it would be better to do something like:
Ansible modules typically have an option to make backups of the file they modify. > Even better is to not be in this situation in the first place, > by deploying all the config via generation from > version-controlled management systems. You typically modify files with ansible when say you install a new package and you want to change just a few lines from the original, which is often better with upgrades etc... The alternative is the template module. -- http://yves.zioup.com gpg: 4096R/32B0F416 _______________________________________________ Tech mailing list Tech@lists.lopsa.org https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech This list provided by the League of Professional System Administrators http://lopsa.org/