Bug 2216753

Summary: add ssh_backup option with default true
Product: Red Hat Enterprise Linux 9 Reporter: Rich Megginson <rmeggins>
Component: rhel-system-rolesAssignee: Rich Megginson <rmeggins>
Status: CLOSED ERRATA QA Contact: Vaclav Danek <vdanek>
Severity: unspecified Docs Contact: Jan Fiala <jafiala>
Priority: unspecified    
Version: 9.3CC: djez, jafiala, jharuda, jjelen, spetrosi, vdanek
Target Milestone: rcKeywords: Triaged
Target Release: 9.3Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: role:ssh
Fixed In Version: rhel-system-roles-1.22.0-0.13.el9 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:
: 2216759 (view as bug list) Environment:
Last Closed: 2023-11-07 08:29:49 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:    
Bug Blocks: 2216759    

Description Rich Megginson 2023-06-22 13:06:59 UTC
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 12 errata-xmlrpc 2023-11-07 08:29:49 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:6390