Compare commits
3
Commits
ce537fc6b4
...
v1.7.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
214109b8f4 | ||
|
|
09cc4c7a5c | ||
|
|
bf25a0c0b1 |
No files matched your search
@@ -4,6 +4,19 @@ mortis.kamino Release Notes
|
|||||||
|
|
||||||
.. contents:: Topics
|
.. contents:: Topics
|
||||||
|
|
||||||
|
v1.7.0
|
||||||
|
======
|
||||||
|
|
||||||
|
Release Summary
|
||||||
|
---------------
|
||||||
|
|
||||||
|
Adds the user_management role, which completes wave 1. Its root fallback refuses to run when the primary user's name is not ansible_user. Existing roles are unchanged.
|
||||||
|
|
||||||
|
Minor Changes
|
||||||
|
-------------
|
||||||
|
|
||||||
|
- user_management - New role. Manages the primary ansible user and additional users (a user with ``state=absent`` is removed), their ``authorized_keys`` (exclusive by default), sudo and cloud-init. When the configured user cannot connect (a fresh guest) it falls back to root with the same deploy key, never a password, and hands the connection back to the configured user once it exists; the fallback refuses to run when the primary user's name is not ``ansible_user``. The optional ``user_management_lock_root_password`` (default false) replaces root's password hash with ``!`` and leaves root's keys and shell alone.
|
||||||
|
|
||||||
v1.6.0
|
v1.6.0
|
||||||
======
|
======
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ Guidance for Claude Code (claude.ai/code) in this repository.
|
|||||||
|
|
||||||
`mortis.kamino`: an Ansible Collection (GPL-3.0-or-later, REUSE-compliant), extracted role by
|
`mortis.kamino`: an Ansible Collection (GPL-3.0-or-later, REUSE-compliant), extracted role by
|
||||||
role from the author's homelab environment repository. The design contract is ADR 0004 (in the
|
role from the author's homelab environment repository. The design contract is ADR 0004 (in the
|
||||||
maintainer's environment repository). Roles arrive here wave by wave; `docker` is in 1.0.0, `fail2ban` in 1.1.0, `network_interfaces` and `systemd_hardening` in 1.2.0, `system_baseline` in 1.3.0, `ufw` in 1.4.0; 1.5.0 adds no role (new `system_baseline` options); `sshd` in 1.6.0; `user_management` in the next release.
|
maintainer's environment repository). Roles arrive here wave by wave; `docker` is in 1.0.0, `fail2ban` in 1.1.0, `network_interfaces` and `systemd_hardening` in 1.2.0, `system_baseline` in 1.3.0, `ufw` in 1.4.0; 1.5.0 adds no role (new `system_baseline` options); `sshd` in 1.6.0; `user_management` in 1.7.0.
|
||||||
|
|
||||||
**Roadmap.** The roles still to come, and the ones that will never be extracted, are listed in
|
**Roadmap.** The roles still to come, and the ones that will never be extracted, are listed in
|
||||||
the README section "Roadmap". Context: the maintainer's private environment repository (a
|
the README section "Roadmap". Context: the maintainer's private environment repository (a
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ An Ansible Collection of reusable, hardened roles for a self-hosted home lab:
|
|||||||
Linux baseline, firewall, SSH, user management and, in later releases, Proxmox,
|
Linux baseline, firewall, SSH, user management and, in later releases, Proxmox,
|
||||||
Gitea and Gitea Actions runner roles.
|
Gitea and Gitea Actions runner roles.
|
||||||
|
|
||||||
Status: roles arrive in waves. Release 1.6.0 holds the `docker`, `fail2ban`, `network_interfaces`, `sshd`, `system_baseline`, `systemd_hardening` and `ufw` roles.
|
Status: roles arrive in waves. Release 1.7.0 holds the `docker`, `fail2ban`, `network_interfaces`, `sshd`, `system_baseline`, `systemd_hardening`, `ufw` and `user_management` roles.
|
||||||
|
|
||||||
## Consuming
|
## Consuming
|
||||||
|
|
||||||
@@ -16,7 +16,7 @@ name (FQCN) only, `mortis.kamino.<role>`:
|
|||||||
collections:
|
collections:
|
||||||
- name: https://git.rkdr.net/mortis/kamino.git
|
- name: https://git.rkdr.net/mortis/kamino.git
|
||||||
type: git
|
type: git
|
||||||
version: v1.6.0
|
version: v1.7.0
|
||||||
```
|
```
|
||||||
|
|
||||||
Its dependencies (`community.general`, `ansible.posix`) are declared in `galaxy.yml`, so
|
Its dependencies (`community.general`, `ansible.posix`) are declared in `galaxy.yml`, so
|
||||||
|
|||||||
@@ -28,6 +28,10 @@ objects:
|
|||||||
description: Install and configure UFW
|
description: Install and configure UFW
|
||||||
name: ufw
|
name: ufw
|
||||||
version_added: null
|
version_added: null
|
||||||
|
user_management:
|
||||||
|
description: Manage the ansible user, other users and their SSH keys
|
||||||
|
name: user_management
|
||||||
|
version_added: null
|
||||||
plugins:
|
plugins:
|
||||||
become: {}
|
become: {}
|
||||||
cache: {}
|
cache: {}
|
||||||
@@ -44,4 +48,4 @@ plugins:
|
|||||||
strategy: {}
|
strategy: {}
|
||||||
test: {}
|
test: {}
|
||||||
vars: {}
|
vars: {}
|
||||||
version: 1.6.0
|
version: 1.7.0
|
||||||
@@ -148,3 +148,21 @@ releases:
|
|||||||
- sshd-role.yml
|
- sshd-role.yml
|
||||||
- ufw-rule-delete.yml
|
- ufw-rule-delete.yml
|
||||||
release_date: '2026-11-15'
|
release_date: '2026-11-15'
|
||||||
|
1.7.0:
|
||||||
|
changes:
|
||||||
|
minor_changes:
|
||||||
|
- user_management - New role. Manages the primary ansible user and additional
|
||||||
|
users (a user with ``state=absent`` is removed), their ``authorized_keys``
|
||||||
|
(exclusive by default), sudo and cloud-init. When the configured user cannot
|
||||||
|
connect (a fresh guest) it falls back to root with the same deploy key, never
|
||||||
|
a password, and hands the connection back to the configured user once it exists;
|
||||||
|
the fallback refuses to run when the primary user's name is not ``ansible_user``.
|
||||||
|
The optional ``user_management_lock_root_password`` (default false) replaces
|
||||||
|
root's password hash with ``!`` and leaves root's keys and shell alone.
|
||||||
|
release_summary: Adds the user_management role, which completes wave 1. Its
|
||||||
|
root fallback refuses to run when the primary user's name is not ansible_user.
|
||||||
|
Existing roles are unchanged.
|
||||||
|
fragments:
|
||||||
|
- 1.7.0.yml
|
||||||
|
- user-management-role.yml
|
||||||
|
release_date: '2026-11-16'
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
---
|
|
||||||
minor_changes:
|
|
||||||
- user_management - New role. Manages the primary ansible user and additional users (a user with ``state=absent`` is removed),
|
|
||||||
their ``authorized_keys`` (exclusive by default), sudo and cloud-init. When the configured user cannot connect (a
|
|
||||||
fresh guest) it falls back to root with the same deploy key, never a password, and hands the connection back to
|
|
||||||
the configured user once it exists; the fallback refuses to run when the primary user's name is not
|
|
||||||
``ansible_user``. The optional ``user_management_lock_root_password`` (default false) replaces
|
|
||||||
root's password hash with ``!`` and leaves root's keys and shell alone.
|
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
namespace: mortis
|
namespace: mortis
|
||||||
name: kamino
|
name: kamino
|
||||||
version: 1.6.0
|
version: 1.7.0
|
||||||
readme: README.md
|
readme: README.md
|
||||||
authors:
|
authors:
|
||||||
- Defame1297
|
- Defame1297
|
||||||
|
|||||||
Reference in new issue
Block a user