Bug 2216759

Summary: add ssh_backup option with default true
Product: Red Hat Enterprise Linux 8 Reporter: Rich Megginson <rmeggins>
Component: rhel-system-rolesAssignee: Rich Megginson <rmeggins>
Status: CLOSED ERRATA QA Contact: David Jež <djez>
Severity: unspecified Docs Contact: Jan Fiala <jafiala>
Priority: unspecified    
Version: 8.9CC: djez, jharuda, rhel-cs-system-management-subsystem-qe, spetrosi, vdanek
Target Milestone: rcKeywords: Triaged
Target Release: 8.9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: role:ssh
Fixed In Version: rhel-system-roles-1.22.0-0.13.el8 Doc Type: Enhancement
Doc Text:
.New option in the `ssh` role to disable configuration backups You can now prevent old configuration files from being backed up before they are overwritten by setting the new `ssh_backup` option to `false`. Previously, backup configuration files were created automatically, which might be unnecessary. The default value of the `ssh_backup` option is `true`, which preserves the original behavior.
Story Points: ---
Clone Of: 2216753 Environment:
Last Closed: 2023-11-14 15:31:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2216753    
Bug Blocks:    

Description Rich Megginson 2023-06-22 13:26:13 UTC
+++ This bug was initially created as a clone of Bug #2216753 +++

Instead of backing up the existing config file every time before applying the changes, have a new option ssh_backup which the user can use to tell the role to not backup the file.  The default is true, backup the file.  see https://github.com/linux-system-roles/ssh/pull/91

Comment 9 errata-xmlrpc 2023-11-14 15:31:19 UTC
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 (rhel-system-roles bug fix and enhancement update), 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/RHEA-2023:6946