Ansible Developtment Tools kit bundles all tools needed for content creation and testing.
Project description
Ansible Development Tools (ADT)
The ansible-dev-tools
python package provides an easy way to install and discover the best tools available to create and test ansible content.
The curated list of tools installed as part of the Ansible automation developer tools package includes:
ansible-core: Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems.
ansible-builder: a utility for building Ansible execution environments.
ansible-creator: a utility for scaffolding Ansible projects and content with leading practices.
ansible-lint: a utility to identify and correct stylistic errors and anti-patterns in Ansible playbooks and roles.
ansible-navigator a text-based user interface (TUI) for developing and troubleshooting Ansible content with execution environments.
ansible-sign: a utility for signing and verifying Ansible content.
molecule: Molecule aids in the development and testing of Ansible content: collections, playbooks and roles
pytest-ansible: a pytest testing framework extension that provides additional functionality for testing Ansible module and plugin Python code.
tox-ansible: an extension to the tox testing utility that provides additional functionality to check Ansible module and plugin Python code under different Python interpreters and Ansible core versions.
ansible-dev-environment: a utility for building and managing a virtual environment for Ansible content development.
Communication
Refer to our Communication guide for details.
Installation
python3 -m pip install ansible-dev-tools
A VsCode compatible devcontainer is also available which is a great way to develop ansible content. The image name is community-ansible-dev-tools.
Usage
In addition to installing each of the above tools, ansible-dev-tools
provides an easy way to show the versions of the content creation tools that make up the current development environment.
$ adt --version
ansible-builder <version>
ansible-core <version>
ansible-creator <version>
ansible-dev-environment <version>
ansible-dev-tools <version>
ansible-lint <version>
ansible-navigator <version>
ansible-sign <version>
molecule <version>
pytest-ansible <version>
tox-ansible <version>
Developer Notes
The ansible-dev-tools
package also offers an Ansible Devtools server which can be launched with adt server
. Currently, this server only supports REST APIs for ansible-creator
.
Refer to the server code for available endpoints.
To run this server from the community dev-tools container, use the following command:
$ podman run -d -p 8000:8000 --name=ansible-devtools-server ghcr.io/ansible/community-ansible-dev-tools:latest adt server
778d0423863c5c161b4bdcb6177d169f0897c597ff084c7a0d3401814d78174f
$ podman logs -f ansible-devtools-server
[2024-04-25 17:28:02 +0000] [10] [INFO] Starting gunicorn 22.0.0
[2024-04-25 17:28:02 +0000] [10] [INFO] Listening at: http://0.0.0.0:8000 (10)
[2024-04-25 17:28:02 +0000] [10] [INFO] Using worker: sync
[2024-04-25 17:28:02 +0000] [11] [INFO] Booting worker with pid: 11
Note: This is primarily for backend integrations and is not intended to be an user-facing functionality.
Documentation
For more information, please visit our documentation page.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ansible_dev_tools-24.11.0.tar.gz
.
File metadata
- Download URL: ansible_dev_tools-24.11.0.tar.gz
- Upload date:
- Size: 912.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55a1b189d6154cff147568de21f6639682cf40a15d3cc375497105861293bc01 |
|
MD5 | 02b472f666690500645989b701fb7fde |
|
BLAKE2b-256 | b963f4ba4beb6545f43ffb74b28ffae069ff1c9d2f97bbc8db899884f3bd0d5d |
Provenance
The following attestation bundles were made for ansible_dev_tools-24.11.0.tar.gz
:
Publisher:
tox.yml
on ansible/ansible-dev-tools
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
ansible_dev_tools-24.11.0.tar.gz
- Subject digest:
55a1b189d6154cff147568de21f6639682cf40a15d3cc375497105861293bc01
- Sigstore transparency entry: 149516068
- Sigstore integration time:
- Predicate type:
File details
Details for the file ansible_dev_tools-24.11.0-py3-none-any.whl
.
File metadata
- Download URL: ansible_dev_tools-24.11.0-py3-none-any.whl
- Upload date:
- Size: 27.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e10f0aa4be1d991b5e3a8e1c9a1d93da5cf9cb992154a3333123cbd98cac3d46 |
|
MD5 | 6d813261eaad0ba7edd0ca91909700c8 |
|
BLAKE2b-256 | f1f77364776523b6ca41bd7482d767a84887c616a23a4b9f1421922fc71d4b88 |
Provenance
The following attestation bundles were made for ansible_dev_tools-24.11.0-py3-none-any.whl
:
Publisher:
tox.yml
on ansible/ansible-dev-tools
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
ansible_dev_tools-24.11.0-py3-none-any.whl
- Subject digest:
e10f0aa4be1d991b5e3a8e1c9a1d93da5cf9cb992154a3333123cbd98cac3d46
- Sigstore transparency entry: 149516070
- Sigstore integration time:
- Predicate type: