From fb8fadc7f9f3e357d6e5db54748ad65a9559c2c6 Mon Sep 17 00:00:00 2001 From: Gabriel Muniz Date: Tue, 20 Jun 2023 09:32:18 -0400 Subject: [PATCH] Add new ANSIBLE_COLLECTIONS_PATH in preparation for deprecation of plural version (#14079) --- awx/main/tasks/jobs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/main/tasks/jobs.py b/awx/main/tasks/jobs.py index 5878e70604..1560005355 100644 --- a/awx/main/tasks/jobs.py +++ b/awx/main/tasks/jobs.py @@ -919,6 +919,7 @@ class RunJob(SourceControlMixin, BaseTask): path_vars = ( ('ANSIBLE_COLLECTIONS_PATHS', 'collections_paths', 'requirements_collections', '~/.ansible/collections:/usr/share/ansible/collections'), ('ANSIBLE_ROLES_PATH', 'roles_path', 'requirements_roles', '~/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles'), + ('ANSIBLE_COLLECTIONS_PATH', 'collections_path', 'requirements_collections', '~/.ansible/collections:/usr/share/ansible/collections'), ) config_values = read_ansible_config(os.path.join(private_data_dir, 'project'), list(map(lambda x: x[1], path_vars)))