Install Ansible Collections via the ansible.cfg File

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

This topic describes how to install Ansible collections using the ansible.cfg file.

To install Ansible collections using the ansible.cfg file:

Run the following command:

ansible-galaxy collection install <NAMESPACE.COLLECTION_NAME>.tar.gz

Where:

  • <NAMESPACE.COLLECTION_NAME>: The namespace and collection name

For example:

ansible-galaxy collection install geerlingguy.k8s.tar.gz

Note

You can also use JFrog Set me up to copy the snippet populated with your token and environment. For more information, see Use Artifactory Set Me Up for Configuring Package Manager Clients.