In general, ansible modules do not perform backups of files that they modify. I'm not sure that sysctl is especially special in this regard. Is there a reason you need this for sysctl but not for copy, or any of the other modules?
-Toshio On Tue, Dec 9, 2014 at 7:41 AM, Mzp45 <[email protected]> wrote: > Hello, > Is there a way to create a backup of /etc/sysctl.conf when making a change > using the sysctl core module? If not can this feature be added? > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/dacf22c0-e242-4cf8-9618-6e9678485f61%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAG9juErTqm1xfU4YJO8DNyP43DV2dW%2BMHRtmj1%3D6JfrsFKeBMg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
