=========================== mortis.kamino Release Notes =========================== .. contents:: Topics v1.5.0 ====== 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. 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. v1.4.0 ====== 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. 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. v1.3.0 ====== Release Summary --------------- Adds the system_baseline role, the first role that needs other collections; community.general and ansible.posix are now declared dependencies. 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. v1.2.0 ====== 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. v1.1.0 ====== Minor Changes ------------- - fail2ban - New role. Installs Fail2Ban, manages jail.local and the service, deploys per-service jails into jail.d. v1.0.0 ====== Release Summary --------------- First release. It holds the docker role; further roles follow in waves. 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.