Deploy Ansible Collections via UI and API

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide
ft:sourceType
Paligo

This section describes the steps to deploy ansible collections via UI and API.

Once you have configured your local machine to install collections from your Ansible local repository, you may also deploy Ansible collections to the same repository using the UI or the REST API.Deploy Artifact APIs

DeployAnsible.png
DeployAnsible2.png

Through the REST API, you also have the option to deploy by checksum or by deploying from an archive.

For example, to deploy an Ansible collection into a repository called ansible-local, you could use the following:

curl -u<USERNAME>:<PASSWORD> -XPUT http://localhost:8080/artifactory/ansible-local/<PATH_TO_METADATA_ROOT> -T <TARGET_FILE_PATH>

where <PATH_TO_METADATA_ROOT> specifies the path from the repository root to the deploy folder.