Ansible development, inside your IDE
Ansibility brings deep semantic support for Ansible to PyCharm, IntelliJ IDEA, WebStorm, and PhpStorm. Instead of generic YAML highlighting, it models your entire Ansible project: multi-environment inventories, 22-step variable precedence, transparent vault editing, role argument specs, and live Jinja2 previews. It also runs your playbooks and Molecule scenarios and shows every play, task and host in a structured run view.
[web-prod-01, web-stage-01]. Target host context switches evaluate against this group hierarchy.Ctrl+B: Navigate to inventory group definitionlisten_portchoices: [...] list.Ctrl+Space: Trigger autocompletion for allowed choices: "postgres"
size_gb sub-option.:
meta/argument_specs.ymlport: type: int • default: 5432
engine: type: str • choices: ['postgres', 'mysql', 'mariadb']
storage: type: dict • required: ['size_gb']
Engineered around authentic ansible-core evaluation semantics, built in pure Kotlin for the IntelliJ Platform.
Switch target host context directly from the status bar widget or quick switcher to evaluate variables and tasks in their exact host environment.
Computes effective variable values adhering to Ansible's full 22-step precedence order, with interactive breakdown cards and override tracing.
Transparent secret editing without leaving the IDE, designed with disk-protection safeguards preventing unencrypted files from hitting disk.
First-class support for meta/argument_specs.yml providing documentation hover cards, auto-completion, and static type checking.
str, int, bool, list, dict, and pathDedicated file type for templates plus automatic Jinja2 expression injection into YAML template values and conditional directives.
AnsibleJinja file type and syntax highlightingwhen:, changed_when:, failed_when:, until:ansible_facts, item, filters, and testsLive rendered split preview for Jinja2 templates (*.j2) rendered against the active host and playbook context.
Comprehensive module intelligence with built-in parameter specs, documentation tooltips, and static validation.
Full IDE navigation and refactoring tools tailored specifically to Ansible repository architecture.
Structured repository tree explorer and live variable inspection window.
Run a whole playbook, a single play, or a single role straight from the editor gutter, locally or inside a Docker Compose service.
Every run gets a "Plays" tab next to the console, showing plays, tasks and hosts with live status.
Gutter icons on every Molecule scenario run the test cycle for one scenario or for all of them.
test, converge, verify, idempotence and destroymolecule or a Docker Compose serviceAnsibility runs ansible-lint itself on open and save, so the separate Ansible Lint plugin is no longer needed.
ansible-lint or the repository's Docker Compose lint service# noqa, ignore file, skip list, Fix with ansible-lintAnsible defines 22 levels of variable precedence. Ansibility implements the complete resolution graph in memory.
When inspecting variables or rendering templates, Ansibility computes the exact winning definition among all active layers:
-e / CLI)defaults/main.yml)Ansibility automatically infers which hosts each file applies to:
hosts: declaration and inventory group membership.meta/main.yml) and playbook invocations.Designed for safe everyday developer workflows with zero plaintext leaks.
Encrypted YAML values (!vault |) feature gutter lock icons for quick actions:
Open whole-file encrypted secrets directly in dedicated editor tabs. Background sync protection prevents unencrypted temporary files from being written to disk.
Static envelope linting verifies header formatting and block structure without requiring vault passwords.
Vault and become passwords can be read directly from 1Password (op), Bitwarden (bw), KeePassXC (keepassxc-cli) or Proton Pass (pass-cli). You can also use the IDE password store, a password file, an environment variable, a script or a prompt, and test each source from Settings.
Run exactly the part of a playbook you are working on, and see what happened on every host.
Gutter icons on playbooks, plays and roles open a run dialog that is already filled in:
--tags, and offers to add any missing tags to the playbook.ansible-playbook, or finds the Compose service that mounts your project.A bundled callback plugin streams events into a "Plays" tree with live status per host, a recap table, result details and before/after diffs. From any node you can rerun failed hosts, rerun on a single host, start at that task, or jump to its source.
Molecule scenarios get their own gutter icons for test, converge, verify, idempotence and destroy. Test instances are cleaned up after a configurable countdown.
Static analysis enforcing Ansible meta/argument_specs.yml contracts.
Value Rejected by Spec: Flags parameter values that violate documented types or fail type coercion.
Sub-option Validation: Detects missing required keys or undeclared options in dictionary specs.
Choice Mismatch: Validates values against declared choices: [...] lists with completion.
Witness Host Analysis: Identifies variables that are undefined on specific target hosts in the inventory.
Ansibility is verified against JetBrains 2026.2+ IDE builds (build 262+).
Install Ansibility directly into your JetBrains IDE.
Ansibility is written in Kotlin and built with Gradle.
# Clone repository
git clone https://github.com/danielterletzkiy/ansibility.git
cd ansibility
# Build plugin ZIP distribution (plugin/build/distributions/)
./gradlew assemble
# Launch sandbox IDE with Ansibility pre-installed
./gradlew runIde