--- id: ansible-creator version: "26.8.0" license: Apache license_treatment: permissive maintenance: active --- # ansible-creator — A CLI tool for scaffolding Ansible Content. License: permissive · Maintenance: active · Downloads: 433.1K/mo ## 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 above — 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 pip install ansible-creator uv add ansible-creator poetry add ansible-creator ## Installing 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_current - Install friction: low - Maintenance: active - Downloads: 433.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags ansible project scaffolding, ansible boilerplate generator, ansible content initialization, ansible project template, cli code generator ansible, ansible project setup tool, ansible, scaffolding, code-generation [View on SkillFed](https://skillfed.io/packages/ansible-creator) · [View on PyPI](https://pypi.org/project/ansible-creator/)