Configure Ansible Client to Work with Artifactory

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide
ft:sourceType
Paligo

Once you have created your Ansible repository, you can get helpful code snippets from the UI to resolve collections and roles using the Ansible client.

You can publish ansible collections, and install ansible collections and roles using any one of the following methods:

  • Configuration Files

    • For collections, Server in ansible.cfg file

    • For roles, Server in ansible.cfg and .netrc files

  • Server Explicit

    Pass server and token details from the CLI.

Configure Ansible Client

To configure ansible client to work with collections and roles using configuration files, refer to the following sections:

For Collections

Task

Description

For more information, see...

Configure Ansible Client to Work with Collections using ansible.cfg File

Describes the steps to configure ansible client to work with collections using ansible.cfg file

Configure Ansible Client to Work with Collections using ansible.cfg File

For Roles

Task

Description

For more information, see...

Configure Ansible Client to Work with Roles using ansible.cfg and .netrc Files

Describes the steps to configure ansible client to work with roles using ansible.cfg and .netrc files

Configure Ansible Client to Work with Roles using .netrc File

Server Explicit

To publish collections, and install collections and roles server-explicitly (without configuration files), refer to the following sections:

For Collections

Task

Description

For more information, see...

Publish Ansible Collections via Ansible CLI without ansible.cfg File

Describes the steps to publish ansible collections via ansible CLI without ansible.cfg file

Publish Ansible Collections via Ansible CLI without ansible.cfg File - Server Explicit

Install Ansible Collections without ansible.cfg File

Describes the steps to install ansible collections via ansible CLI without ansible.cfg file

Install Ansible Collections - Server Explicit

For Roles

Task

Description

For more information, see...

Install Ansible Roles without ansible.cfg and.netrc Files

Describes the steps to install ansible roles via ansible CLI without ansible.cfg and .netrc files

Install Ansible Roles without .netrc - Server Explicit