Adds the gitea role, the second role of wave 2 and the second caller of the internal _binary_update role. Existing roles are unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
205 lines
11 KiB
YAML
205 lines
11 KiB
YAML
ancestor: null
|
|
releases:
|
|
1.0.0:
|
|
changes:
|
|
minor_changes:
|
|
- The Collection archive no longer contains extensions/ (the image-smoke molecule
|
|
scenario), the roles' molecule scenarios, CLAUDE.md or other repository tooling;
|
|
the Build workflow now fails when the archive holds anything outside an allow
|
|
list, a member that is not a regular file or directory (symlinks, hardlinks,
|
|
devices), or a path that is absolute or holds an empty, '..' or '.git' component
|
|
(compared case-insensitively), a backslash or a control or zero-width character;
|
|
it also fails on duplicate members, an empty archive or one that lacks MANIFEST.json,
|
|
FILES.json, COPYING, README.md, meta/runtime.yml or changelogs/changelog.yaml,
|
|
and on symlinks in the source tree (which ansible-galaxy would dereference).
|
|
- The archive check also rejects any file name containing "vault", SSH key and
|
|
.envrc/.env* files, names that Windows or macOS extraction would read differently
|
|
(trailing space or dot, reserved device names such as CON or NUL, "::", 8.3
|
|
aliases of .git, non-ASCII spaces, surrogate, private-use and unassigned characters,
|
|
components over 255 bytes), case-insensitive duplicates and a name used as
|
|
both a file and a directory. The Build workflow fails with a clear message
|
|
unless exactly one tarball was built.
|
|
- docker - New role. Installs, updates or removes Docker Engine from the upstream
|
|
APT repository and adds users to the docker group.
|
|
release_summary: First release. It holds the docker role; further roles follow
|
|
in waves.
|
|
fragments:
|
|
- ci-concurrency-main-runs.yml
|
|
- collection-tarball-contents.yml
|
|
- credential-and-workflow-comments.yml
|
|
- dev-setup-robustness.yml
|
|
- docker-role.yml
|
|
- image-version-and-pin-check.yml
|
|
- release-1.0.0.yml
|
|
- scaffold.yml
|
|
release_date: '2026-11-08'
|
|
1.1.0:
|
|
changes:
|
|
minor_changes:
|
|
- fail2ban - New role. Installs Fail2Ban, manages jail.local and the service,
|
|
deploys per-service jails into jail.d.
|
|
fragments:
|
|
- fail2ban-role.yml
|
|
release_date: '2026-11-08'
|
|
1.2.0:
|
|
changes:
|
|
minor_changes:
|
|
- network_interfaces - New role. Renders /etc/network/interfaces from a layout
|
|
of manual interfaces and bridges, validates it with ifreload and restores
|
|
the backup if validation fails.
|
|
- systemd_hardening - New role. Disables and masks risky services per system
|
|
type, writes a systemd manager hardening drop-in and renders opt-in per-service
|
|
sandboxing drop-ins.
|
|
fragments:
|
|
- systemd-hardening-network-interfaces-roles.yml
|
|
release_date: '2026-11-10'
|
|
1.3.0:
|
|
changes:
|
|
minor_changes:
|
|
- galaxy.yml - Declare ``community.general`` (>=14.0.0) and ``ansible.posix``
|
|
(>=2.2.0) as dependencies, needed by ``system_baseline``. ``ansible-galaxy``
|
|
now installs them with the Collection unless the consumer's requirements already
|
|
pin a satisfying version.
|
|
- system_baseline - New role. Applies a per-system-type OS baseline (apt upgrade,
|
|
package install and removal, unattended-upgrades, locale, timezone, journal
|
|
size cap, sysctl hardening, tmpfs mounts and an optional reboot). Besides
|
|
``main``, the ``update`` and ``reboot`` task files are supported entry points
|
|
for callers that drive their own reboot; ``reboot`` sets the ``system_baseline_reboot_required``
|
|
fact.
|
|
release_summary: Adds the system_baseline role, the first role that needs other
|
|
collections; community.general and ansible.posix are now declared dependencies.
|
|
fragments:
|
|
- system-baseline-role.yml
|
|
release_date: '2026-11-14'
|
|
1.4.0:
|
|
changes:
|
|
minor_changes:
|
|
- ufw - New role. Installs and enables UFW with default policies, base rules,
|
|
``before.rules`` and sysctl overrides, and refuses to run when the rules would
|
|
lock the host out of SSH. Besides ``main``, the ``service_rules`` entry point
|
|
applies a service role's own rules tagged with its name, and the ``orphan_rules``
|
|
entry point reports, and optionally deletes, the tagged rules of owners that
|
|
are no longer managed.
|
|
release_summary: Adds the ufw role (entry points main, service_rules and orphan_rules),
|
|
copied from the environment repository's role with unchanged behaviour. Existing
|
|
roles are unchanged.
|
|
fragments:
|
|
- 1.4.0.yml
|
|
- molecule-docker-gnupg.yml
|
|
- ufw-role.yml
|
|
release_date: '2026-11-14'
|
|
1.5.0:
|
|
changes:
|
|
minor_changes:
|
|
- system_baseline - add ``system_baseline_update`` (default ``true``). With
|
|
``false`` the main flow skips the package update, for hosts patched by a separate
|
|
flow. The ``update`` entry point does not read it.
|
|
- system_baseline - add an optional tmux session on SSH login for the ``ubuntu_lxc``
|
|
and ``ubuntu_vm`` profiles (``system_baseline_tmux_autostart``, ``system_baseline_tmux_session``,
|
|
``system_baseline_tmux_windows``). It is off by default. The two profiles
|
|
now install ``tmux``.
|
|
- 'system_baseline - add the profile key ``unattended_upgrade_origins`` (resolved
|
|
as ``system_baseline_unattended_upgrade_origins``). A non-empty list is written
|
|
to ``/etc/apt/apt.conf.d/90unattended-upgrades-origins``, which clears the
|
|
earlier ``Allowed-Origins`` and ``Origins-Pattern`` lists and allows only
|
|
the listed patterns. The ``pve`` profile now pins Debian''s point-release
|
|
and security origins, so the Proxmox repository is never upgraded unattended
|
|
and a future Debian default cannot widen the set. On ``pve`` hosts this also
|
|
removes any origin an operator added in ``50unattended-upgrades`` or another
|
|
earlier ``apt.conf.d`` file (``Allowed-Origins`` included). To keep them,
|
|
opt out with ``system_baseline_profile_overrides: {pve: {unattended_upgrade_origins:
|
|
[]}}`` or set ``system_baseline_unattended_upgrade_origins: []``; the role
|
|
then removes the drop-in. The ``ubuntu_lxc`` and ``ubuntu_vm`` profiles pin
|
|
nothing and are unchanged.'
|
|
release_summary: system_baseline gains an optional tmux session on SSH login,
|
|
a toggle to skip the package update in the main flow, and pinned unattended-upgrades
|
|
origins for the pve profile. No new roles.
|
|
fragments:
|
|
- 1.5.0.yml
|
|
- system-baseline-tmux.yml
|
|
- system-baseline-update-toggle.yml
|
|
release_date: '2026-11-15'
|
|
1.6.0:
|
|
changes:
|
|
minor_changes:
|
|
- fail2ban - add ``fail2ban_ignoreip``, written as ``ignoreip`` in the ``[DEFAULT]``
|
|
section of ``jail.local`` so it applies to every jail, the service jails included.
|
|
The default is Fail2Ban's own (``127.0.0.1/8`` and ``::1``). The first run
|
|
after upgrading adds the section and restarts Fail2Ban once.
|
|
- 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``.
|
|
- 'ufw - ``ufw_rules`` entries accept ``delete`` (a boolean). An entry with
|
|
``delete: true`` removes the rule it describes, so a base rule can be replaced,
|
|
for example an open SSH rule by narrower ones. Deletes are applied after every
|
|
other rule of the list, a delete entry never satisfies the SSH lock-out guard,
|
|
and a rule that the list both adds and deletes fails the play. ``service_rules``
|
|
does not accept the key.'
|
|
release_summary: Adds the sshd role. ufw base rules can now delete a rule, so
|
|
an open rule can be replaced by narrower ones, and fail2ban gains fail2ban_ignoreip.
|
|
Existing behaviour is unchanged unless the new options are used.
|
|
fragments:
|
|
- 1.6.0.yml
|
|
- fail2ban-ignoreip.yml
|
|
- 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:
|
|
changes:
|
|
minor_changes:
|
|
- traefik - New role. Installs the Traefik reverse proxy as a systemd binary
|
|
with a checksum-verified release, renders its static and dynamic configuration
|
|
with Cloudflare DNS-challenge certificates and an optional dashboard behind
|
|
basicAuth, opens its ports through ``mortis.kamino.ufw``, and removes it on
|
|
request. With ``traefik_update`` it downloads and verifies a new release before
|
|
stopping anything and swaps it in with rollback on failure.
|
|
release_summary: 'Adds the traefik role, the first role of wave 2, and the internal
|
|
_binary_update role it uses to swap in a new release with rollback (internal:
|
|
not part of the public API). The trivial README and comment fixes of the wave
|
|
1 scrub ship here too. Existing roles are unchanged.'
|
|
fragments:
|
|
- binary-update-role.yml
|
|
- release-1.8.0.yml
|
|
- scrub-wave1-leftovers.yml
|
|
- traefik-role.yml
|
|
release_date: '2026-11-20'
|
|
1.9.0:
|
|
changes:
|
|
minor_changes:
|
|
- gitea - New role. Installs the Gitea git service as a systemd binary with
|
|
a GPG-verified release (pinned signing key, throwaway keyring), renders ``app.ini``
|
|
(SQLite, loopback listener, registration disabled, optional mailer), creates
|
|
the admin user and adds SSH keys through the API, opens its port through ``mortis.kamino.ufw``,
|
|
deploys a Fail2Ban jail through ``mortis.kamino.fail2ban``, and removes it
|
|
on request. With ``gitea_update`` it downloads and verifies a new release
|
|
before stopping anything and swaps it in with rollback on failure. A separate
|
|
``mint`` entry point creates the admin API token on explicit request only.
|
|
release_summary: Adds the gitea role, the second role of wave 2 and the second
|
|
caller of the internal _binary_update role. Existing roles are unchanged.
|
|
fragments:
|
|
- gitea-role.yml
|
|
- release-1.9.0.yml
|
|
release_date: '2026-11-21'
|