chore(release): 1.7.0
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 32s
Molecule / molecule (pull_request) Successful in 11m35s

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.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
This commit is contained in:
Defame1297andClaude Opus 5.5 committed 2026-11-16 17:44:18 +00:00
1 parent bf25a0c0b1
commit 09cc4c7a5c
7 files changed
+40 -13

No files matched your search

+5 -1
View File
@@ -28,6 +28,10 @@ objects:
description: Install and configure UFW
name: ufw
version_added: null
user_management:
description: Manage the ansible user, other users and their SSH keys
name: user_management
version_added: null
plugins:
become: {}
cache: {}
@@ -44,4 +48,4 @@ plugins:
strategy: {}
test: {}
vars: {}
version: 1.6.0
version: 1.7.0
+18
View File
@@ -148,3 +148,21 @@ releases:
- sshd-role.yml
- ufw-rule-delete.yml
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.