Bug 1970642

Summary: RFE: sshd - support for appending a snippet to configuration file
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: Eliane Ramos Pereira <elpereir>
Priority: unspecified    
Version: 8.5CC: djez, elpereir, fedoraproject, jafiala, jjelen, nhosoi, spetrosi
Target Milestone: betaKeywords: FutureFeature
Target Release: 8.5Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: role:sshd
Fixed In Version: rhel-system-roles-1.4.0-1.el8 Doc Type: Enhancement
Doc Text:
.The SSHD RHEL System Role now supports non-exclusive configuration snippets With this feature, you can configure SSHD through different roles and playbooks without rewriting the previous configurations by using namespaces. Namespaces are similar to a drop-in directory, and define non-exclusive configuration snippets for SSHD. As a result, you can use the SSHD RHEL System Role from a different role, if you need to configure only a small part of the configuration and not the entire configuration file.
Story Points: ---
Clone Of:
: 1978752 (view as bug list) Environment:
Last Closed: 2021-11-09 17:45:29 UTC Type: Bug
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: 1978752    
Deadline: 2021-08-02   

Description Rich Megginson 2021-06-10 21:49:48 UTC
Description of problem:
By default, the variables provided to this role role define whole content of the configuration file (with potential system defaults). To allow this role to be invoked from other roles or from multiple places in a single playbook on systems that do not support drop-in directory, we can define namespaces, that will allow us place configuration snippets idempotently into a single configuration file.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Rich Megginson 2021-06-10 22:21:23 UTC
@jjelen please provide the Doc Text

Comment 19 errata-xmlrpc 2021-11-09 17:45:29 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/RHBA-2021:4159