update: use singular form ANSIBLE_COLLECTIONS_PATH (#15841) (#6876)

* update: use singular form ANSIBLE_COLLECTIONS_PATH

* update functional tests
This commit is contained in:
Peter Braun
2025-03-18 14:44:57 +01:00
committed by GitHub
parent bad4e630ba
commit bdfd9dec74
3 changed files with 6 additions and 7 deletions

View File

@@ -201,7 +201,7 @@
# additional_galaxy_env contains environment variables are used for installing roles and collections and will take precedence over items in galaxy_task_env
additional_galaxy_env:
# These paths control where ansible-galaxy installs collections and roles on top the filesystem
ANSIBLE_COLLECTIONS_PATHS: "{{ projects_root }}/.__awx_cache/{{ local_path }}/stage/requirements_collections"
ANSIBLE_COLLECTIONS_PATH: "{{ projects_root }}/.__awx_cache/{{ local_path }}/stage/requirements_collections"
ANSIBLE_ROLES_PATH: "{{ projects_root }}/.__awx_cache/{{ local_path }}/stage/requirements_roles"
# Put the local tmp directory in same volume as collection destination
# otherwise, files cannot be moved accross volumes and will cause error