chore!: raise the ansible-core floor to 2.22, the pinned core
requires_ansible and every role's min_ansible_version said 2.19, which CI never tested; CI tests only the pinned ansible-core (2.22). The floor now equals that minor. ansible-lint 26.10.1's built-in supported list ends at 2.19, so .ansible-lint adds 2.22 for meta-runtime[unsupported-version]. BREAKING CHANGE: ansible-core 2.19, 2.20 and 2.21 (and controller Python 3.12) are no longer supported. Closes #164 Assisted-by: Claude Code
This commit is contained in:
1 parent
90928cdfc0
commit
75d82becbf
16 files changed
+27
-17
No files matched your search
@@ -18,6 +18,12 @@ exclude_paths:
|
|||||||
# which the hook runs, links the checkout as ansible_collections/mortis/kamino. A bare `ansible-lint`
|
# which the hook runs, links the checkout as ansible_collections/mortis/kamino. A bare `ansible-lint`
|
||||||
# does not do that and reports the role names as not found; run it through the hook.
|
# does not do that and reports the role names as not found; run it through the hook.
|
||||||
|
|
||||||
|
# meta-runtime[unsupported-version] checks requires_ansible against a list built into
|
||||||
|
# ansible-lint, which ends at 2.19 in 26.10.1. The floor is the pinned ansible-core minor
|
||||||
|
# (meta/runtime.yml), so that minor is added here; move it with the pin.
|
||||||
|
supported_ansible_also:
|
||||||
|
- "2.22."
|
||||||
|
|
||||||
skip_list:
|
skip_list:
|
||||||
# role-name requires ^[a-z][a-z0-9_]*$, which rejects the leading underscore that marks an
|
# role-name requires ^[a-z][a-z0-9_]*$, which rejects the leading underscore that marks an
|
||||||
# internal role (_binary_update), as in prometheus.prometheus (roles/_common).
|
# internal role (_binary_update), as in prometheus.prometheus (roles/_common).
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
breaking_changes:
|
||||||
|
- >-
|
||||||
|
Raise the minimum ansible-core to 2.22 (controller Python 3.14); 2.19, 2.20 and 2.21
|
||||||
|
are no longer supported. ``requires_ansible`` and every role's ``min_ansible_version``
|
||||||
|
now equal the ansible-core minor that CI tests.
|
||||||
+2
-4
@@ -1,5 +1,3 @@
|
|||||||
---
|
---
|
||||||
# The roles were written against ansible-core 2.19 and nothing older has been
|
# Equals the minor of the pinned ansible-core in requirements-dev.txt; a Lint check holds it.
|
||||||
# tested. Raise this when a role needs a newer core; lowering it needs the molecule and
|
requires_ansible: ">=2.22.0"
|
||||||
# sanity runs on the older core first.
|
|
||||||
requires_ansible: ">=2.19.0"
|
|
||||||
@@ -6,7 +6,7 @@ galaxy_info:
|
|||||||
description: >-
|
description: >-
|
||||||
[INTERNAL] Swap a staged, verified binary into place for a systemd service, check its version and roll back
|
[INTERNAL] Swap a staged, verified binary into place for a systemd service, check its version and roll back
|
||||||
on failure. Called only by roles of this Collection; not part of its public API.
|
on failure. Called only by roles of this Collection; not part of its public API.
|
||||||
min_ansible_version: "2.19"
|
min_ansible_version: "2.22"
|
||||||
platforms:
|
platforms:
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ galaxy_info:
|
|||||||
author: Defame1297
|
author: Defame1297
|
||||||
license: GPL-3.0-or-later
|
license: GPL-3.0-or-later
|
||||||
description: Install, update and remove cloudflared for a locally managed Cloudflare Tunnel, with its DNS records, and mint the tunnel on request.
|
description: Install, update and remove cloudflared for a locally managed Cloudflare Tunnel, with its DNS records, and mint the tunnel on request.
|
||||||
min_ansible_version: "2.19"
|
min_ansible_version: "2.22"
|
||||||
platforms:
|
platforms:
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ galaxy_info:
|
|||||||
author: Defame1297
|
author: Defame1297
|
||||||
license: GPL-3.0-or-later
|
license: GPL-3.0-or-later
|
||||||
description: Install, update or remove Docker Engine from the upstream Docker APT repository and add users to the docker group.
|
description: Install, update or remove Docker Engine from the upstream Docker APT repository and add users to the docker group.
|
||||||
min_ansible_version: "2.19"
|
min_ansible_version: "2.22"
|
||||||
platforms:
|
platforms:
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ galaxy_info:
|
|||||||
author: Defame1297
|
author: Defame1297
|
||||||
license: GPL-3.0-or-later
|
license: GPL-3.0-or-later
|
||||||
description: Install Fail2Ban, manage jail.local and the service, and deploy per-service jails and filters into jail.d.
|
description: Install Fail2Ban, manage jail.local and the service, and deploy per-service jails and filters into jail.d.
|
||||||
min_ansible_version: "2.19"
|
min_ansible_version: "2.22"
|
||||||
platforms:
|
platforms:
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ galaxy_info:
|
|||||||
author: Defame1297
|
author: Defame1297
|
||||||
license: GPL-3.0-or-later
|
license: GPL-3.0-or-later
|
||||||
description: Install, configure, update and remove the Gitea git service as a systemd binary with a GPG-verified download, UFW rules and a Fail2Ban jail.
|
description: Install, configure, update and remove the Gitea git service as a systemd binary with a GPG-verified download, UFW rules and a Fail2Ban jail.
|
||||||
min_ansible_version: "2.19"
|
min_ansible_version: "2.22"
|
||||||
platforms:
|
platforms:
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ galaxy_info:
|
|||||||
author: Defame1297
|
author: Defame1297
|
||||||
license: GPL-3.0-or-later
|
license: GPL-3.0-or-later
|
||||||
description: Install, register, configure, update and remove a Gitea Actions runner with Docker and an optional host-executor label.
|
description: Install, register, configure, update and remove a Gitea Actions runner with Docker and an optional host-executor label.
|
||||||
min_ansible_version: "2.19"
|
min_ansible_version: "2.22"
|
||||||
platforms:
|
platforms:
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ galaxy_info:
|
|||||||
author: Defame1297
|
author: Defame1297
|
||||||
license: GPL-3.0-or-later
|
license: GPL-3.0-or-later
|
||||||
description: Render /etc/network/interfaces for Proxmox hosts from manual and bridge definitions, validate with ifreload and restore the backup on failure.
|
description: Render /etc/network/interfaces for Proxmox hosts from manual and bridge definitions, validate with ifreload and restore the backup on failure.
|
||||||
min_ansible_version: "2.19"
|
min_ansible_version: "2.22"
|
||||||
platforms:
|
platforms:
|
||||||
- name: Debian
|
- name: Debian
|
||||||
versions:
|
versions:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ galaxy_info:
|
|||||||
author: Defame1297
|
author: Defame1297
|
||||||
license: GPL-3.0-or-later
|
license: GPL-3.0-or-later
|
||||||
description: Write a hardened sshd drop-in selected by profile (pve, ubuntu_lxc, ubuntu_vm), guarded against SSH lock-out.
|
description: Write a hardened sshd drop-in selected by profile (pve, ubuntu_lxc, ubuntu_vm), guarded against SSH lock-out.
|
||||||
min_ansible_version: "2.19"
|
min_ansible_version: "2.22"
|
||||||
platforms:
|
platforms:
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ galaxy_info:
|
|||||||
author: Defame1297
|
author: Defame1297
|
||||||
license: GPL-3.0-or-later
|
license: GPL-3.0-or-later
|
||||||
description: "Per-system-type OS baseline: apt upgrade, packages, unattended-upgrades, locale, timezone, journal cap, sysctl, tmpfs mounts, reboot."
|
description: "Per-system-type OS baseline: apt upgrade, packages, unattended-upgrades, locale, timezone, journal cap, sysctl, tmpfs mounts, reboot."
|
||||||
min_ansible_version: "2.19"
|
min_ansible_version: "2.22"
|
||||||
platforms:
|
platforms:
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ galaxy_info:
|
|||||||
author: Defame1297
|
author: Defame1297
|
||||||
license: GPL-3.0-or-later
|
license: GPL-3.0-or-later
|
||||||
description: Disable and mask risky services per system type, harden the systemd manager and apply opt-in per-service sandboxing drop-ins.
|
description: Disable and mask risky services per system type, harden the systemd manager and apply opt-in per-service sandboxing drop-ins.
|
||||||
min_ansible_version: "2.19"
|
min_ansible_version: "2.22"
|
||||||
platforms:
|
platforms:
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ galaxy_info:
|
|||||||
author: Defame1297
|
author: Defame1297
|
||||||
license: GPL-3.0-or-later
|
license: GPL-3.0-or-later
|
||||||
description: Install, configure, update and remove the Traefik reverse proxy as a systemd binary with Cloudflare DNS-challenge certificates.
|
description: Install, configure, update and remove the Traefik reverse proxy as a systemd binary with Cloudflare DNS-challenge certificates.
|
||||||
min_ansible_version: "2.19"
|
min_ansible_version: "2.22"
|
||||||
platforms:
|
platforms:
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ galaxy_info:
|
|||||||
author: Defame1297
|
author: Defame1297
|
||||||
license: GPL-3.0-or-later AND GPL-3.0-only
|
license: GPL-3.0-or-later AND GPL-3.0-only
|
||||||
description: Install and configure UFW with default policies, allow rules, before.rules and sysctl overrides, guarded against SSH lock-out.
|
description: Install and configure UFW with default policies, allow rules, before.rules and sysctl overrides, guarded against SSH lock-out.
|
||||||
min_ansible_version: "2.19"
|
min_ansible_version: "2.22"
|
||||||
platforms:
|
platforms:
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ galaxy_info:
|
|||||||
author: Defame1297
|
author: Defame1297
|
||||||
license: GPL-3.0-or-later
|
license: GPL-3.0-or-later
|
||||||
description: Manage the primary ansible user and additional users, their authorized_keys, sudo and cloud-init, with a key-only root bootstrap fallback.
|
description: Manage the primary ansible user and additional users, their authorized_keys, sudo and cloud-init, with a key-only root bootstrap fallback.
|
||||||
min_ansible_version: "2.19"
|
min_ansible_version: "2.22"
|
||||||
platforms:
|
platforms:
|
||||||
- name: Ubuntu
|
- name: Ubuntu
|
||||||
versions:
|
versions:
|
||||||
|
|||||||
Reference in new issue
Block a user