Rheinwerk.update_sshd_config
SSHD Configuration Update
This role is used to update the SSHD configuration early in the startup process, before the actual services start.
Please note that this role does not start the SSHD service, and it assumes that the SSHD program is already installed.
Requirements
The target machine must have the scollector tool installed.
Role Variables
The main variable for this role is _sshd
, which is a map that contains all the configuration settings. For more details, check defaults/main.yml
.
Dependencies
There are no dependencies.
Example Playbook
This role uses the _sshd
variable from defaults/main.yml
as a template for your configuration. You need to pass this configuration to the role. Here’s an example of how to use the role with parameters:
- hosts: servers
var:
SSHD:
...
roles:
- { role: update_sshd_config, tags: [ 'sshd' ], _sshd: "{{ SSHD }}" }
License
Refer to the LICENSE file for details.
Author Information
The original author is Daniel Schneller, a member of the Rheinwerk project.