acb07e8335
The configuration setting COLLECTIONS_PATHS was deprecated in Ansible 2.19, see: https://docs.ansible.com/ansible/latest/reference_appendices/config.html#collections-paths |
||
---|---|---|
.. | ||
README.md |
README.md
Contributing
- Create ansible.cfg in cloned directory:
[defaults]
COLLECTIONS_PATH = ./collections
- Create requirements.yml in cloned directory:
---
collections:
- name: namespace.collection_name
source: /where/is/your/clone
type: dir
- To install the collection locally in your cloned directory, just install it through ansible-galaxy
rm -rf ./collections && ansible-galaxy install -r requirements.yml
Note: Any change on your clone imply to reinstall the collection.
Tip: You can place a ansible.cfg with COLLECTIONS_PATH = ../../collections
in the examples dictory if you want to run the example on local collection in your cloned directory.