ansible-creator
A CLI tool for scaffolding Ansible Content.
What it is and what it does
ansible-creator is a command-line scaffolding tool that generates Ansible project structure and content from templates. It provides two main commands: `init` to create a new Ansible project from scratch, and `add` to insert resources into an existing project. The tool depends on jinja2 for template rendering, pyyaml for configuration handling, and importlib-resources for asset management.
It's designed for developers building Ansible content who want to quickly establish a standardized project layout rather than manually creating directories and boilerplate files. The tool is actively maintained, supports modern Python versions (3.10–3.13), and integrates with the Ansible documentation ecosystem. It has experimental shell completion support via argcomplete.
Use it for:
- Initialize a new Ansible collection or role project with standard directory structure and configuration files.
- Add new resources (roles, plugins, modules) to an existing Ansible project without manual setup.
- Enforce consistent project layout across multiple Ansible content repositories in a team.
- Integrate with VS Code Ansible Extension for IDE-driven Ansible project creation.
- Generate boilerplate files and metadata for Ansible content distribution.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A CLI tool that scaffolds new Ansible projects and adds resources to existing ones, generating boilerplate code and project structure from templates.
Yes. The package is actively maintained (release 2 days old), has no known vulnerabilities, low install friction, and permissive licensing. It solves a real problem—reducing boilerplate work for Ansible projects—and is well-integrated with the Ansible ecosystem. Install if you regularly create or extend Ansible projects.
Install
ansible-creator on PyPI
pip
pip install ansible-creatoruv
uv add ansible-creatorpoetry
poetry add ansible-creatorInstalling ansible-creator
Before you install
Low friction install with three lightweight runtime dependencies (importlib-resources, jinja2, pyyaml). Actively maintained with a release 2 days old and recent commits; supports current Python versions (3.10–3.13).
License in practice
Released under Apache License 2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install ansible-creator
ansible-creator init
ansible-creator add
Requires Python 3.10 or later. Optional: install argcomplete for shell command-line completion.
Verify before relying
- Whether the tool integrates seamlessly with VS Code Ansible Extension as mentioned in docs.
- Current state of the 'create' action for scaffolding plugins (described as upcoming on the create branch).
- Scope and customization options for generated project templates.
Package facts
| License | Apache (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — importlib-resources, jinja2, pyyaml |
| Maintenance | actively maintained — 2 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 433,141/month — #6,705 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ansible_creator-26.8.0-py3-none-any.whl
Keywords: ansible
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
ansible-builderAnsible Builder automates the creation of…
permissive · top 15,000 on PyPI
ansible-dev-toolsBundles and installs a curated suite of Ansible…
copyleft · top 15,000 on PyPI
pyrigpyrig scaffolds, initializes, and maintains…
permissive · top 15,000 on PyPI
PyScaffoldPyScaffold generates a complete Python project…
permissive · top 5,000 on PyPI
ansibleAnsible is an IT automation system that handles…
copyleft · top 5,000 on PyPI
ansible-signGenerates and validates checksums and GPG…
permissive · top 15,000 on PyPI
antsibull-docsBuilds and generates Ansible documentation from…
copyleft · top 15,000 on PyPI
ansible-baseAnsible-base is the core automation engine for…
copyleft · top 15,000 on PyPI
ansible-coreAnsible Core is the engine for agentless IT…
copyleft · top 5,000 on PyPI
awxkitawxkit is the official command-line interface…
permissive · top 15,000 on PyPI