ASIMP :: Security Platform
ANSIBLE SYSTEM INTEGRITY MANAGEMENT PLATFORM // baselines & hardening
MODE:


About ASIMP

ASIMP is an automated framework built with Ansible to assess host compliance, configure OS parameters, secure SSH, and verify integrity.

Sovereign OS Role Patcher Reference

Ansible >= 9.0.0 OpenSCAP: CIS L2 Lynis: Enabled debsums: Enabled

Sovereign OS Role Patcher Reference

scripts/patch_roles.py scans downloaded Ansible Galaxy roles and automatically applies unprivileged sandbox compatibility corrections.


🛠️ Execution Context

python3 scripts/patch_roles.py

Processes files in roles/ directory.


⚙️ Modifications Applied

  1. Jinja2 Parameter Parsing: Replaces double-quoted or single-quoted trim_blocks/lstrip_blocks directives in SSH templates with capitalized Python booleans (#jinja2: trim_blocks: True, lstrip_blocks: True).
  2. Moduli Conditional Boolean Rewrite: Patches roles/dev-sec.ssh-hardening/tasks/hardening.yml by rewriting - sshd_register_moduli.stdout to - sshd_register_moduli.stdout | length > 0 to ensure strict boolean evaluation under modern Ansible Core.
  3. Graceful Service Error Bypass: Appends ignore_errors: "" onto service or systemd tasks inside role YAML files.

🔒 Exit Codes

  • 0: Success.
  • 1: Failure.