diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 744a3b1..6f4ff02 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,6 +4,14 @@ mortis.kamino Release Notes .. contents:: Topics +v1.11.0 +======= + +Minor Changes +------------- + +- cloudflared - New role. Installs cloudflared as a systemd service for a locally managed Cloudflare Tunnel, with a sha256-verified binary, checks that the tunnel still exists, renders ``config.yml`` from ``cloudflared_ingress``, writes the tunnel credentials, and with ``cloudflared_manage_dns`` (default true) points a proxied CNAME for every ingress hostname at the tunnel, refusing to overwrite a record that does not point at a tunnel and pruning CNAMEs of this tunnel that are no longer listed. With ``cloudflared_update`` it downloads and verifies a new release before stopping anything and swaps it in through the internal ``_binary_update`` role, with rollback on failure. ``cloudflared_remove`` removes the daemon and ends the role; with ``cloudflared_remove_data`` it also deletes the tunnel and its records on Cloudflare. The opt-in ``mint`` entry point creates the tunnel with a secret generated in memory and registers its id and credentials as ``no_log`` facts for the calling play to persist; it is refused under CI and does nothing when a tunnel is already set. + v1.10.2 ======= diff --git a/README.md b/README.md index 4a83a6b..0630815 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.10.2 holds the `docker`, `fail2ban`, `gitea`, `gitea_runner`, `network_interfaces`, `sshd`, `system_baseline`, `systemd_hardening`, `traefik`, `ufw` and `user_management` roles (and the internal `_binary_update`, which `gitea`, `gitea_runner` and `traefik` call; `cloudflared`, still unreleased, calls it too). +Status: roles arrive in waves. Release 1.11.0 holds the `cloudflared`, `docker`, `fail2ban`, `gitea`, `gitea_runner`, `network_interfaces`, `sshd`, `system_baseline`, `systemd_hardening`, `traefik`, `ufw` and `user_management` roles (and the internal `_binary_update`, which `cloudflared`, `gitea`, `gitea_runner` and `traefik` call). ## Consuming @@ -16,7 +16,7 @@ name (FQCN) only, `mortis.kamino.`: collections: - name: https://git.rkdr.net/mortis/kamino.git type: git - version: v1.10.2 + version: v1.11.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 ae04be7..b59a4cb 100644 --- a/changelogs/.plugin-cache.yaml +++ b/changelogs/.plugin-cache.yaml @@ -5,6 +5,11 @@ objects: with rollback' name: _binary_update version_added: null + cloudflared: + description: Install and run cloudflared for a locally managed Cloudflare Tunnel, + with its DNS records + name: cloudflared + version_added: null docker: description: Install, update or remove Docker Engine name: docker @@ -66,4 +71,4 @@ plugins: strategy: {} test: {} vars: {} -version: 1.10.2 +version: 1.11.0 diff --git a/changelogs/changelog.yaml b/changelogs/changelog.yaml index b8b6a4f..b4742c0 100644 --- a/changelogs/changelog.yaml +++ b/changelogs/changelog.yaml @@ -85,6 +85,26 @@ releases: fragments: - systemd-hardening-sockets.yml release_date: '2026-11-23' + 1.11.0: + changes: + minor_changes: + - cloudflared - New role. Installs cloudflared as a systemd service for a locally + managed Cloudflare Tunnel, with a sha256-verified binary, checks that the + tunnel still exists, renders ``config.yml`` from ``cloudflared_ingress``, + writes the tunnel credentials, and with ``cloudflared_manage_dns`` (default + true) points a proxied CNAME for every ingress hostname at the tunnel, refusing + to overwrite a record that does not point at a tunnel and pruning CNAMEs of + this tunnel that are no longer listed. With ``cloudflared_update`` it downloads + and verifies a new release before stopping anything and swaps it in through + the internal ``_binary_update`` role, with rollback on failure. ``cloudflared_remove`` + removes the daemon and ends the role; with ``cloudflared_remove_data`` it + also deletes the tunnel and its records on Cloudflare. The opt-in ``mint`` + entry point creates the tunnel with a secret generated in memory and registers + its id and credentials as ``no_log`` facts for the calling play to persist; + it is refused under CI and does nothing when a tunnel is already set. + fragments: + - cloudflared-role.yml + release_date: '2026-11-23' 1.2.0: changes: minor_changes: diff --git a/changelogs/fragments/cloudflared-role.yml b/changelogs/fragments/cloudflared-role.yml deleted file mode 100644 index 2c03bb1..0000000 --- a/changelogs/fragments/cloudflared-role.yml +++ /dev/null @@ -1,13 +0,0 @@ ---- -minor_changes: - - >- - cloudflared - New role. Installs cloudflared as a systemd service for a locally managed Cloudflare Tunnel, with a - sha256-verified binary, checks that the tunnel still exists, renders ``config.yml`` from ``cloudflared_ingress``, - writes the tunnel credentials, and with ``cloudflared_manage_dns`` (default true) points a proxied CNAME for every - ingress hostname at the tunnel, refusing to overwrite a record that does not point at a tunnel and pruning CNAMEs - of this tunnel that are no longer listed. With ``cloudflared_update`` it downloads and verifies a new release - before stopping anything and swaps it in through the internal ``_binary_update`` role, with rollback on failure. - ``cloudflared_remove`` removes the daemon and ends the role; with ``cloudflared_remove_data`` it also deletes the - tunnel and its records on Cloudflare. The opt-in ``mint`` entry point creates the tunnel with a secret generated in - memory and registers its id and credentials as ``no_log`` facts for the calling play to persist; it is refused - under CI and does nothing when a tunnel is already set. diff --git a/galaxy.yml b/galaxy.yml index a01c9f7..7be7c3c 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: mortis name: kamino -version: 1.10.2 +version: 1.11.0 readme: README.md authors: - Defame1297