The Ansible client saves caches of downloaded roles and collections and their JSON metadata responses (called .cache.json
).
The JSON metadata cache files contain the Ansible roles and collections metadata.
We recommend removing the Ansible caches, both roles and collections and metadata, before using Artifactory for the first time. This is to ensure that your caches only contain elements that are due to requests from Artifactory and not directly from https://galaxy.ansible.com/