19 Commits
Author SHA1 Message Date
Defame1297 6bda5f252f Merge branch 'main' into renovate/git.rkdr.net-mortis-molecule-ubuntu2604-0.x
Build / build (pull_request) Successful in 12s
Molecule / molecule (pull_request) Successful in 9m49s
Lint / lint (pull_request) Successful in 32s
2026-11-16 22:06:05 +00:00
kamino-renovate Bot 49c78cd036 Merge pull request 'chore(deps): update git.rkdr.net/mortis/molecule-ubuntu2404 docker tag to v0.1.8' (#240) from renovate/git.rkdr.net-mortis-molecule-ubuntu2404-0.x into main
Build / build (push) Successful in 12s
Lint / lint (push) Successful in 32s
Molecule / molecule (push) Successful in 9m51s
2026-11-16 22:05:48 +00:00
renovate-bot ad8b193035 chore(deps): update git.rkdr.net/mortis/molecule-ubuntu2604 docker tag to v0.1.5
renovate/stability-days Updates have met minimum release age requirement
Build / build (pull_request) Successful in 12s
Molecule / molecule (pull_request) Canceled after 0s
Lint / lint (pull_request) Canceled after 13s
2026-11-16 21:54:34 +00:00
renovate-bot f1bac53250 chore(deps): update git.rkdr.net/mortis/molecule-ubuntu2404 docker tag to v0.1.8
renovate/stability-days Updates have met minimum release age requirement
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 32s
Molecule / molecule (pull_request) Successful in 9m49s
2026-11-16 21:54:33 +00:00
kamino-renovate Bot 8d735c6da1 Merge pull request 'chore(deps): update git.rkdr.net/mortis/ci docker tag to v0.2.28' (#238) from renovate/git.rkdr.net-mortis-ci-0.x into main
Build / build (push) Successful in 12s
Lint / lint (push) Successful in 32s
2026-11-16 21:48:59 +00:00
renovate-bot 82a28cec22 chore(deps): update git.rkdr.net/mortis/ci docker tag to v0.2.28
renovate/stability-days Updates have met minimum release age requirement
Build / build (pull_request) Successful in 27s
Lint / lint (pull_request) Successful in 33s
Molecule / molecule (pull_request) Successful in 1s
2026-11-16 21:47:45 +00:00
Defame1297 2debbfef04 Merge pull request 'chore(deps): update ubuntu:26.04 docker digest to d66b366' (#237) from renovate/job-container-ubuntu-26.04 into main
Build / build (push) Successful in 12s
Images / image (Dockerfile, ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8, molecule-ubuntu2404, images/molecule-ubuntu2404, 0.1.8) (push) Successful in 10s
Lint / lint (push) Successful in 32s
Images / image (Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, molecule-ubuntu2604, images/molecule-ubuntu2604, 0.1.5) (push) Successful in 10s
Images / image (images/ci/Dockerfile, ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db, ci, , 0.2.28) (push) Successful in 9s
Reviewed-on: #237
2026-11-16 21:46:36 +00:00
Defame1297 8f417d8d60 Merge branch 'main' into renovate/job-container-ubuntu-26.04
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 33s
Molecule / molecule (pull_request) Successful in 2s
2026-11-16 21:43:38 +00:00
kamino-renovate Bot 328f119020 Merge pull request 'chore(deps): update ubuntu:26.04 docker digest to d66b366' (#236) from renovate/ubuntu-26.04 into main
Build / build (push) Successful in 13s
Lint / lint (push) Successful in 34s
Images / image (Dockerfile, ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8, molecule-ubuntu2404, images/molecule-ubuntu2404, 0.1.8) (push) Successful in 9s
Images / image (Dockerfile, ubuntu:26.04@sha256:065aa8626841f16057b78b027b464cd59c4fac36c204c72dcbf48d66f5fa8a96, molecule-ubuntu2604, images/molecule-ubuntu2604, 0.1.5) (push) Successful in 28s
Images / image (images/ci/Dockerfile, ubuntu:26.04@sha256:065aa8626841f16057b78b027b464cd59c4fac36c204c72dcbf48d66f5fa8a96, ci, , 0.2.28) (push) Successful in 3m50s
2026-11-16 21:40:08 +00:00
Defame1297 061231c21c Merge branch 'main' into renovate/ubuntu-26.04
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 34s
Molecule / molecule (pull_request) Successful in 2s
2026-11-16 21:38:25 +00:00
Defame1297 9fdc70828e Merge pull request 'chore(deps): update ubuntu:24.04 docker digest to 73b9993' (#235) from renovate/job-container-ubuntu-24.04 into main
Build / build (push) Successful in 13s
Lint / lint (push) Successful in 33s
Images / image (Dockerfile, ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8, molecule-ubuntu2404, images/molecule-ubuntu2404, 0.1.8) (push) Successful in 11s
Images / image (Dockerfile, ubuntu:26.04@sha256:065aa8626841f16057b78b027b464cd59c4fac36c204c72dcbf48d66f5fa8a96, molecule-ubuntu2604, images/molecule-ubuntu2604, 0.1.4) (push) Successful in 10s
Images / image (images/ci/Dockerfile, ubuntu:26.04@sha256:065aa8626841f16057b78b027b464cd59c4fac36c204c72dcbf48d66f5fa8a96, ci, , 0.2.27) (push) Successful in 9s
Reviewed-on: #235
2026-11-16 21:38:11 +00:00
Defame1297 23608671ef Merge branch 'main' into renovate/job-container-ubuntu-24.04
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 33s
Molecule / molecule (pull_request) Successful in 2s
2026-11-16 21:35:27 +00:00
kamino-renovate Bot 191f332504 Merge pull request 'chore(deps): update ubuntu:24.04 docker digest to 73b9993' (#234) from renovate/ubuntu-24.04 into main
Build / build (push) Successful in 12s
Images / image (Dockerfile, ubuntu:24.04@sha256:2198e4c65076e9cb0b3d695219df667c0e3b0072da64ca3c2648aca17dcecaf5, molecule-ubuntu2404, images/molecule-ubuntu2404, 0.1.8) (push) Successful in 26s
Lint / lint (push) Successful in 33s
Images / image (Dockerfile, ubuntu:26.04@sha256:065aa8626841f16057b78b027b464cd59c4fac36c204c72dcbf48d66f5fa8a96, molecule-ubuntu2604, images/molecule-ubuntu2604, 0.1.4) (push) Successful in 14s
Images / image (images/ci/Dockerfile, ubuntu:26.04@sha256:065aa8626841f16057b78b027b464cd59c4fac36c204c72dcbf48d66f5fa8a96, ci, , 0.2.27) (push) Successful in 8s
2026-11-16 21:33:32 +00:00
renovate-bot 79aac32b3d chore(deps): update ubuntu:26.04 docker digest to d66b366
renovate/stability-days Updates have met minimum release age requirement
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 34s
Molecule / molecule (pull_request) Successful in 2s
2026-11-16 21:31:57 +00:00
renovate-bot ae822e72c7 chore(deps): update ubuntu:26.04 docker digest to d66b366
renovate/stability-days Updates have met minimum release age requirement
Build / build (pull_request) Successful in 13s
Lint / lint (pull_request) Successful in 34s
Molecule / molecule (pull_request) Successful in 1s
2026-11-16 21:31:53 +00:00
renovate-bot 1d7be7f6dd chore(deps): update ubuntu:24.04 docker digest to 73b9993
renovate/stability-days Updates have met minimum release age requirement
Build / build (pull_request) Successful in 14s
Lint / lint (pull_request) Successful in 33s
Molecule / molecule (pull_request) Successful in 2s
2026-11-16 21:31:51 +00:00
renovate-bot d9e43d1955 chore(deps): update ubuntu:24.04 docker digest to 73b9993
renovate/stability-days Updates have met minimum release age requirement
Build / build (pull_request) Successful in 13s
Lint / lint (pull_request) Successful in 34s
Molecule / molecule (pull_request) Successful in 2s
2026-11-16 21:31:48 +00:00
Defame1297 6a29576036 Merge pull request 'docs: drop environment names left in fail2ban and systemd_hardening' (#233) from docs/scrub-wave1-leftovers into main
Build / build (push) Successful in 13s
Lint / lint (push) Successful in 33s
Molecule / molecule (push) Successful in 10m2s
Reviewed-on: #233
2026-11-16 20:14:52 +00:00
Defame1297andClaude Opus 5.5 e2d89b9617 docs: drop environment names left in fail2ban and systemd_hardening
Build / build (pull_request) Successful in 13s
Lint / lint (pull_request) Successful in 34s
Molecule / molecule (pull_request) Successful in 1m44s
The fail2ban README example played against a consumer's real inventory
group; it now uses a generic group name. A systemd_hardening task comment
named a consumer playbook; it now describes the clash with any inventory
variable called `services` in general terms. No task or default changes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-11-16 20:07:30 +00:00
10 changed files with 21 additions and 17 deletions

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ jobs:
timeout-minutes: 30 timeout-minutes: 30
# The ci image (images/ci, built by image.yml): tag for the release, digest enforced. # The ci image (images/ci, built by image.yml): tag for the release, digest enforced.
container: container:
image: git.rkdr.net/mortis/ci:0.2.27@sha256:192242ca2159a4e5e404ef1cb520ca8fe2e5b473e68d44467eaee0a538ef3738 image: git.rkdr.net/mortis/ci:0.2.28@sha256:5236f475d9aa5446cecee4bb23becd411df3cb12963650d2f5821ef2b9d73b7c
env: env:
PIP_DISABLE_PIP_VERSION_CHECK: "1" PIP_DISABLE_PIP_VERSION_CHECK: "1"
steps: steps:
+6 -6
View File
@@ -78,20 +78,20 @@ jobs:
matrix: matrix:
include: include:
- name: molecule-ubuntu2404 - name: molecule-ubuntu2404
version: 0.1.7 version: 0.1.8
subpath: images/molecule-ubuntu2404 subpath: images/molecule-ubuntu2404
dockerfile: Dockerfile dockerfile: Dockerfile
job_image: ubuntu:24.04@sha256:2198e4c65076e9cb0b3d695219df667c0e3b0072da64ca3c2648aca17dcecaf5 job_image: ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8
- name: molecule-ubuntu2604 - name: molecule-ubuntu2604
version: 0.1.4 version: 0.1.5
subpath: images/molecule-ubuntu2604 subpath: images/molecule-ubuntu2604
dockerfile: Dockerfile dockerfile: Dockerfile
job_image: ubuntu:26.04@sha256:065aa8626841f16057b78b027b464cd59c4fac36c204c72dcbf48d66f5fa8a96 job_image: ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db
- name: ci - name: ci
version: 0.2.27 version: 0.2.28
subpath: "" subpath: ""
dockerfile: images/ci/Dockerfile dockerfile: images/ci/Dockerfile
job_image: ubuntu:26.04@sha256:065aa8626841f16057b78b027b464cd59c4fac36c204c72dcbf48d66f5fa8a96 job_image: ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db
container: container:
image: ${{ matrix.job_image }} image: ${{ matrix.job_image }}
# Keeps a runaway build from taking the whole 3 GB runner LXC down with it. # Keeps a runaway build from taking the whole 3 GB runner LXC down with it.
+1 -1
View File
@@ -35,7 +35,7 @@ jobs:
# The tag says which release, the digest is what is enforced (bump both together # The tag says which release, the digest is what is enforced (bump both together
# when image.yml publishes a new version). # when image.yml publishes a new version).
container: container:
image: git.rkdr.net/mortis/ci:0.2.27@sha256:192242ca2159a4e5e404ef1cb520ca8fe2e5b473e68d44467eaee0a538ef3738 image: git.rkdr.net/mortis/ci:0.2.28@sha256:5236f475d9aa5446cecee4bb23becd411df3cb12963650d2f5821ef2b9d73b7c
env: env:
PIP_DISABLE_PIP_VERSION_CHECK: "1" PIP_DISABLE_PIP_VERSION_CHECK: "1"
PRE_COMMIT_HOME: /opt/pre-commit PRE_COMMIT_HOME: /opt/pre-commit
+2 -2
View File
@@ -76,11 +76,11 @@ jobs:
# Used by the scenarios as `image: ${MOLECULE_IMAGE}`; set it the same way to run # Used by the scenarios as `image: ${MOLECULE_IMAGE}`; set it the same way to run
# one locally. # one locally.
MOLECULE_IMAGE: >- MOLECULE_IMAGE: >-
git.rkdr.net/mortis/molecule-ubuntu2404:0.1.7@sha256:683205d9b1d6892ede70e6478a031cee55c11a545f127577d7fcbb3f4b3adfaf git.rkdr.net/mortis/molecule-ubuntu2404:0.1.8@sha256:e1ea7c6f953626c39d9f578d60a1ef668f09ed4e5d537d5c7601668b5c5e0eb3
# The same for Ubuntu 26.04, the release the hosts are moving to; used by # The same for Ubuntu 26.04, the release the hosts are moving to; used by
# `image: ${MOLECULE_IMAGE_2604}` in extensions/molecule/image-smoke-2604. # `image: ${MOLECULE_IMAGE_2604}` in extensions/molecule/image-smoke-2604.
MOLECULE_IMAGE_2604: >- MOLECULE_IMAGE_2604: >-
git.rkdr.net/mortis/molecule-ubuntu2604:0.1.4@sha256:1b37c98656f68c24047fe8ad24e2f829ef146ad9aca5359d2a0acb9265db69af git.rkdr.net/mortis/molecule-ubuntu2604:0.1.5@sha256:4ba40ee3603a33778254f22bc0f9360b9f7dd0ed5c03c5b2f935186c7b84dd6f
steps: steps:
# The molecule venv is provisioned by the gitea_runner role (install_services); fail with # The molecule venv is provisioned by the gitea_runner role (install_services); fail with
# a clear message when this runs before it has. # a clear message when this runs before it has.
@@ -0,0 +1,4 @@
---
trivial:
- fail2ban - the README example play targets a generic group name.
- systemd_hardening - a task comment no longer names a consumer playbook.
+1 -1
View File
@@ -36,7 +36,7 @@
# build stage prints the sizes it will copy; the first push is the real test. # build stage prints the sizes it will copy; the first push is the real test.
# Base image: ubuntu:26.04 index digest as of 2026-10-26, same as molecule-ubuntu2604. # Base image: ubuntu:26.04 index digest as of 2026-10-26, same as molecule-ubuntu2604.
FROM ubuntu:26.04@sha256:065aa8626841f16057b78b027b464cd59c4fac36c204c72dcbf48d66f5fa8a96 AS os FROM ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db AS os
ENV DEBIAN_FRONTEND=noninteractive ENV DEBIAN_FRONTEND=noninteractive
+1 -1
View File
@@ -25,7 +25,7 @@
# fails without host keys, so they cannot be removed; image scanners will flag them. # fails without host keys, so they cannot be removed; image scanners will flag them.
# They are throwaway keys of a test target that is never exposed. # They are throwaway keys of a test target that is never exposed.
# ubuntu:24.04 index digest as of 2026-10-24 (24.04.5). # ubuntu:24.04 index digest as of 2026-10-24 (24.04.5).
FROM ubuntu:24.04@sha256:2198e4c65076e9cb0b3d695219df667c0e3b0072da64ca3c2648aca17dcecaf5 FROM ubuntu:24.04@sha256:73b999393d07f2bf65a40373778a44dc9a6d54ad7718d29247d8ff9413c4d6a8
LABEL org.opencontainers.image.title="molecule-ubuntu2404" \ LABEL org.opencontainers.image.title="molecule-ubuntu2404" \
org.opencontainers.image.description="Disposable Ubuntu 24.04 test target for the molecule scenarios of the mortis.kamino Ansible Collection. systemd runs as PID 1 with D-Bus, sudo, python3 and the packages the roles manage (iptables, ufw, fail2ban, openssh-server) preinstalled, so a converge makes no network calls. Start it as a molecule platform (usage label); it carries throwaway SSH host keys and is a test target only, never to be exposed." \ org.opencontainers.image.description="Disposable Ubuntu 24.04 test target for the molecule scenarios of the mortis.kamino Ansible Collection. systemd runs as PID 1 with D-Bus, sudo, python3 and the packages the roles manage (iptables, ufw, fail2ban, openssh-server) preinstalled, so a converge makes no network calls. Start it as a molecule platform (usage label); it carries throwaway SSH host keys and is a test target only, never to be exposed." \
+1 -1
View File
@@ -25,7 +25,7 @@
# fails without host keys, so they cannot be removed; image scanners will flag them. # fails without host keys, so they cannot be removed; image scanners will flag them.
# They are throwaway keys of a test target that is never exposed. # They are throwaway keys of a test target that is never exposed.
# ubuntu:26.04 index digest as of 2026-10-26. # ubuntu:26.04 index digest as of 2026-10-26.
FROM ubuntu:26.04@sha256:065aa8626841f16057b78b027b464cd59c4fac36c204c72dcbf48d66f5fa8a96 FROM ubuntu:26.04@sha256:d66b366dac61b575bee2aef07e9c26e8070096fbe84a3d4d3eb0da069b5d76db
LABEL org.opencontainers.image.title="molecule-ubuntu2604" \ LABEL org.opencontainers.image.title="molecule-ubuntu2604" \
org.opencontainers.image.description="Disposable Ubuntu 26.04 test target for the molecule scenarios of the mortis.kamino Ansible Collection. systemd runs as PID 1 with D-Bus, sudo, python3 and the packages the roles manage (iptables, ufw, fail2ban, openssh-server) preinstalled, so a converge makes no network calls. Start it as a molecule platform (usage label); it carries throwaway SSH host keys and is a test target only, never to be exposed." \ org.opencontainers.image.description="Disposable Ubuntu 26.04 test target for the molecule scenarios of the mortis.kamino Ansible Collection. systemd runs as PID 1 with D-Bus, sudo, python3 and the packages the roles manage (iptables, ufw, fail2ban, openssh-server) preinstalled, so a converge makes no network calls. Start it as a molecule platform (usage label); it carries throwaway SSH host keys and is a test target only, never to be exposed." \
+1 -1
View File
@@ -44,7 +44,7 @@ Main entry point: `fail2ban` (everything), `fail2ban_install`, `fail2ban_validat
## Example play ## Example play
```yaml ```yaml
- hosts: pve_lxcs - hosts: containers
roles: roles:
- role: mortis.kamino.fail2ban - role: mortis.kamino.fail2ban
vars: vars:
+3 -3
View File
@@ -21,9 +21,9 @@
tags: always tags: always
# Not service_facts: it returns a fact named `services`, which (with # Not service_facts: it returns a fact named `services`, which (with
# inject_facts_as_vars) overrides the host_vars `services` list used by # inject_facts_as_vars) overrides any inventory variable of that name, such as
# playbooks/install_services.yml. Only installed unit files are listed, so # a list of services a playbook installs. Only installed unit files are listed,
# units that are merely referenced (LoadState not-found) are excluded. # so units that are merely referenced (LoadState not-found) are excluded.
- name: List installed service unit files # noqa: command-instead-of-module - name: List installed service unit files # noqa: command-instead-of-module
become: true become: true
ansible.builtin.command: systemctl list-unit-files --type=service --no-legend --plain ansible.builtin.command: systemctl list-unit-files --type=service --no-legend --plain