Currently, the yedit module backs up files whenever it edits a file. In order to allow for audit trail of changes it'd be beneficial if those backups were named with the timestamp so that subsequent writes do not lose history.
https://github.com/openshift/openshift-ansible/pull/7558
*** Bug 1558880 has been marked as a duplicate of this bug. ***
Commits pushed to master at https://github.com/openshift/openshift-ansible https://github.com/openshift/openshift-ansible/commit/bc2ad50e5951bca0857f6bf947ec0cffbdf11dce Bug 1555426- yedit now appends an ISO8601 formatted datetime string to file backups https://github.com/openshift/openshift-ansible/commit/f28aba492e10048d30b49f39f02ee9a2f9be2c64 Merge pull request #7558 from fabianvf/bz1555426 Bug 1555426- yedit now appends an ISO8601 formatted datetime string to file backups
https://github.com/openshift/openshift-ansible/pull/7701 release-3.9
blocked by bug1566238
Verified on openshift-ansible-3.9.24-1.git.0.d0289ea.el7.noarch # ls -la /etc/origin/master/ |grep master-config -rw-r--r--. 1 root root 5966 Apr 19 22:49 master-config.yaml -rw-r--r--. 1 root root 6413 Apr 19 22:40 master-config.yaml.20180419T224055 -rw-r--r--. 1 root root 6447 Apr 19 22:49 master-config.yaml.20180419T224935 -rw-------. 1 root root 6012 Apr 19 21:30 master-config.yaml.orig
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:1566