Files
kevinveenbirkenbachandClaude Opus 5.5 f0fec2466c fix(sys-front-tls-selfsigned): sign leaf with explicit SKID/AKID for OpenSSL 4
OpenSSL 4.0 stopped adding the subject and authority key identifiers in
openssl x509 -req on its own. The leaf signed with -extensions req_ext
therefore carries no AKID, and Python 3.13+ verifies with
VERIFY_X509_STRICT, so every deferred vhost probe on Arch (OpenSSL 4.1.0,
Python 3.14) failed with CERTIFICATE_VERIFY_FAILED: Missing Authority Key
Identifier while OpenResty served the vhost (CI run 43131801262,
Fediwall#0).

- leaf_ext section sets subjectKeyIdentifier = hash and
  authorityKeyIdentifier = keyid:always; req_ext stays SAN-only, because
  the CSR has no issuer to take the keyid from
- an existing leaf without AKID is regenerated once
- uri_probe_batch returns the error behind every -1, and the deferred
  probe failure names it instead of a bare -1

🎯 Fix: 91 %
💥 Break: 3 %
💸 Cost: 100 %
⏱️ Time: 100 %
🛡️ Security: ~100 %
🏆 Score: 88
🚦 Gate: ✅ 90/5, cost and time <= 100, security 100 %

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 09:45:31 +00:00
..
…

Custom Modules (library/)

This directory contains project-specific Ansible modules used by Infinito.Nexus.

What Belongs Here

Use library/ for idempotent module logic that represents concrete automation actions.

Typical cases:

  • managing resources that have no suitable built-in/community module,
  • wrapping internal APIs or internal infrastructure semantics,
  • implementing reusable module interfaces for role/playbook consumption.

What Does Not Belong Here

  • Shared helper code used by multiple modules/plugins goes to utils/.
  • Jinja transformations belong to plugins/filter/.
  • Runtime value retrieval belongs to plugins/lookup/.
  • Task execution wrappers belong to plugins/action/.

Usage

Ansible searches library/ for custom modules. In playbooks, call them like built-in modules.

- name: Run a custom Infinito module
  infinito_custom_module:
    option_one: value
    option_two: value

Implementation Notes

  • Keep modules idempotent and predictable.
  • Validate input early and return structured failure messages.
  • Move duplicated helpers into utils/.

Shebang Requirement for Custom Modules

Files in library/ should use:

#!/usr/bin/python

Ansible rewrites this interpreter path to the configured host interpreter for module execution.

References