About this project
Onigirazu is a configuration management and infrastructure automation tool written in Go and inspired by Ansible. It targets hosts over SSH without installing agents, and describes desired state in YAML playbooks.
Core capabilities described in the README:
- YAML playbooks with plays, tasks, handlers, hierarchical variables, conditionals (when, until, changed_when, failed_when), loops, and Jinja2-like templating with filters and whitespace control.
- Agentless SSH execution with host key validation, parallel task execution with configurable concurrency, idempotent operations, and retry logic with backoff.
- Inventory in multiple formats (YAML, TOML, JSON, INI, text), plus inline host specification via -i, and group_vars/host_vars variable layering similar to Ansible.
- State management with snapshots and rollback, drift detection and automatic fixing, audit and analytics of execution history, and a caching system for facts, templates, and packages.
- Ad-hoc command execution without playbooks, supporting five input formats including a natural-language form, with text, JSON, YAML, and table output.
- A CLI with commands such as apply, run, plan, validate, lint, fmt, graph, audit, diff, drift, healthcheck, inventory, state, rollback, and completion.
- An interactive terminal UI mode (--interactive) with live log streaming, NORMAL/VERBOSE/DEBUG display switching, statistics, keyboard controls, and graceful shutdown.
- A module system with 44 built-in modules covering files, packages, services, users and groups, commands, templates, git, systemd, cron, firewall, containers (Docker, Compose, Podman), and databases (MySQL, PostgreSQL, MongoDB), plus a plugin architecture and a scaffolding tool for generating new modules with tests and benchmarks.
- Secrets management via Bitwarden integration and an optional JSON security policy for modules, hosts, paths, and commands.
Installation options include pre-built binaries for Linux, macOS, Windows, and BSD variants, Docker images, distribution packages (.deb, .rpm, .apk, Arch), building from source with make, and go install. The README also references extensive documentation for configuration, security, testing, playbook format, ad-hoc usage, and interactive mode.
Comments
0 people shared their preference · Deer Point appears after 10 participants
Sign in to join the discussion.