Defined collections path

This commit is contained in:
Fabio Sinibaldi 2026-03-11 12:41:11 +01:00
parent da3761eabd
commit 986e5a8f3e
1 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,8 @@ fact_caching_timeout=86400
# (pathspec) Colon-separated paths in which Ansible will search for collections content. Collections must be in nested *subdirectories*, not directly in these directories. For example, if ``COLLECTIONS_PATHS`` includes ``'{{ ANSIBLE_HOME ~ "/collections" }}'``, and you want to add ``my.collection`` to that directory, it must be saved as ``'{{ ANSIBLE_HOME} ~ "/collections/ansible_collections/my/collection" }}'``.
;collections_path=/Users/fabioisti/.ansible/collections:/usr/share/ansible/collections
collections_path=./playbooks/collections
# (boolean) A boolean to enable or disable scanning the sys.path for installed collections.
;collections_scan_sys_path=True