diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 4261203..47a007a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,21 @@ 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 ====== diff --git a/README.md b/README.md index a381861..716e4a7 100644 --- a/README.md +++ b/README.md @@ -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, Gitea and Gitea Actions runner roles. -Status: roles arrive in waves. Release 1.4.0 holds the `docker`, `fail2ban`, `network_interfaces`, `system_baseline`, `systemd_hardening` and `ufw` roles. +Status: roles arrive in waves. Release 1.5.0 holds the `docker`, `fail2ban`, `network_interfaces`, `system_baseline`, `systemd_hardening` and `ufw` roles. ## Consuming @@ -16,7 +16,7 @@ name (FQCN) only, `mortis.kamino.`: collections: - name: https://git.rkdr.net/mortis/kamino.git type: git - version: v1.4.0 + version: v1.5.0 ``` Its dependencies (`community.general`, `ansible.posix`) are declared in `galaxy.yml`, so diff --git a/changelogs/.plugin-cache.yaml b/changelogs/.plugin-cache.yaml index c4a55a5..bf36bad 100644 --- a/changelogs/.plugin-cache.yaml +++ b/changelogs/.plugin-cache.yaml @@ -40,4 +40,4 @@ plugins: strategy: {} test: {} vars: {} -version: 1.4.0 +version: 1.5.0 diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index ea3e089..0da7015 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -88,3 +88,34 @@ releases: - 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' diff --git a/changelogs/fragments/system-baseline-tmux.yml b/changelogs/fragments/system-baseline-tmux.yml deleted file mode 100644 index 3cbd640..0000000 --- a/changelogs/fragments/system-baseline-tmux.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- -minor_changes: - - >- - 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``. diff --git a/changelogs/fragments/system-baseline-update-toggle.yml b/changelogs/fragments/system-baseline-update-toggle.yml deleted file mode 100644 index f3b3cde..0000000 --- a/changelogs/fragments/system-baseline-update-toggle.yml +++ /dev/null @@ -1,15 +0,0 @@ ---- -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 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. diff --git a/galaxy.yml b/galaxy.yml index b24aa9d..58db08d 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: mortis name: kamino -version: 1.4.0 +version: 1.5.0 readme: README.md authors: - Defame1297