feat(sshd): add the sshd role
Copied from the environment repository's local role. The files are identical except: galaxy namespace mortis; comments, the README and the guard failure messages scrubbed of environment references (issue numbers, playbooks, inventory groups, the caller role's fallback, history of the old vars/ files and of the variable renames), with the technical explanation kept; the README's run order now asks for the ansible_user key to be installed first instead of naming the environment's playbooks; the molecule scenario calls the role by its FQCN (mortis.kamino.sshd), follows the Kamino scenario conventions (kamino-molecule header, scenario.test_sequence) and no longer sets ANSIBLE_COLLECTIONS_PATH or ANSIBLE_ROLES_PATH. No variable, default, argument_specs type or task logic changed; the test coverage is the same. The role uses ansible.builtin only, so galaxy.yml's dependencies are unchanged. The README Roadmap no longer lists sshd. Not verified locally: the molecule scenario (it runs on the kamino-molecule runner in CI) and ansible-test sanity (runs on push). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
This commit is contained in:
1 parent
cb50e6f9a6
commit
915f588533
15 files changed
+715
-1
No files matched your search
@@ -0,0 +1,7 @@
|
||||
---
|
||||
minor_changes:
|
||||
- sshd - New role. Writes a hardened sshd drop-in selected by a profile (``pve``, ``ubuntu_lxc``, ``ubuntu_vm``),
|
||||
merged from a baseline, the profile and ``sshd_settings``, checked with ``sshd -t`` and reloaded through a handler.
|
||||
It refuses to run when the result would lock SSH out (password login off without public key login), when the
|
||||
``pve`` profile does not allow root public-key login or lacks ``rsa-sha2-512`` (Proxmox VE cluster SSH needs both),
|
||||
and when any profile allows SHA-1 ``ssh-rsa``.
|
||||
Reference in new issue
Block a user