feat(roles): add the systemd_hardening and network_interfaces roles #78

Merged
Defame1297 merged 1 commits from feat/systemd-hardening-network-interfaces-roles into main 2026-11-10 18:15:52 +00:00
Owner

What

Adds two wave 1 roles, copied from the environment repository and scrubbed for the Collection:

  • systemd_hardening
  • network_interfaces

Scrub: galaxy namespace mortis; molecule scenarios call the roles by FQCN and take paths from the workflow (as fail2ban does); READMEs use mortis.kamino.* and documentation addresses; issue numbers, ADR references and inventory paths are dropped. mock_roles in .ansible-lint lists both FQCNs. Changelog fragment added.

Behaviour change

network_interfaces loses its Legacy name guard and the molecule play that tested it. The guard only protected the in-repo variable rename (a stale network_interfaces variable would render an empty layout and ifreload would drop the bridges); a new consumer never had the old names, and the epic's working rule is that a guard goes with its role. Say so in review if you want it kept.

Verified

  • All pre-commit hooks pass locally (yamllint, REUSE, changelog lint, ansible-lint, gitleaks, Conventional Commits).

Not verified

  • The molecule scenarios (they run only on the kamino-molecule runner, i.e. in this PR's CI) and ansible-test sanity.
  • Nothing is released: no version bump, no tag. The release is the operator's.

🤖 Generated with Claude Code

## What Adds two wave 1 roles, copied from the environment repository and scrubbed for the Collection: - `systemd_hardening` - `network_interfaces` Scrub: galaxy namespace `mortis`; molecule scenarios call the roles by FQCN and take paths from the workflow (as `fail2ban` does); READMEs use `mortis.kamino.*` and documentation addresses; issue numbers, ADR references and inventory paths are dropped. `mock_roles` in `.ansible-lint` lists both FQCNs. Changelog fragment added. ## Behaviour change `network_interfaces` loses its Legacy name guard and the molecule play that tested it. The guard only protected the in-repo variable rename (a stale `network_interfaces` variable would render an empty layout and `ifreload` would drop the bridges); a new consumer never had the old names, and the epic's working rule is that a guard goes with its role. Say so in review if you want it kept. ## Verified - All pre-commit hooks pass locally (yamllint, REUSE, changelog lint, ansible-lint, gitleaks, Conventional Commits). ## Not verified - The molecule scenarios (they run only on the `kamino-molecule` runner, i.e. in this PR's CI) and `ansible-test sanity`. - Nothing is released: no version bump, no tag. The release is the operator's. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Claude added 1 commit 2026-11-10 15:18:49 +00:00
feat(roles): add the systemd_hardening and network_interfaces roles
Build / build (pull_request) Successful in 10s
Lint / lint (pull_request) Successful in 17s
Molecule / molecule (pull_request) Successful in 4m43s
cf8f4b5bf0
Copied from the environment repository's roles and scrubbed for the
Collection: galaxy namespace mortis, molecule scenarios call the roles by
their FQCN and take their paths from the workflow, README examples use
mortis.kamino.* and documentation addresses, repository-local references
(issue numbers, ADRs, inventory paths) are dropped. network_interfaces
loses its Legacy name guard and the molecule play that tested it: the
guard only protected the in-repo rename, and a new consumer never had the
old names. mock_roles in .ansible-lint lists both FQCNs.

Not verified locally: the molecule scenarios (they run on the
kamino-molecule runner in CI) and ansible-test sanity.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
Defame1297 merged commit db1caa9b28 into main 2026-11-10 18:15:52 +00:00
Defame1297 deleted branch feat/systemd-hardening-network-interfaces-roles 2026-11-10 18:15:52 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Kamino#78