This topic describes how to install Ansible roles using the Ansible client CLI using the .netrc file. The Ansible .netrc file stores credentials needed to login and access data stored in the Ansible LabKey server.
To install roles via CLI using the .netrc file:
Run the following command:
ansible-galaxy role install <NAMESPACE.ROLE_NAME>.tar.gz
Where:
<NAMESPACE.ROLE_NAME>: The namespace and role name
For example:
ansible-galaxy role 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.