diff options
author | Gabriel Muniz <gmuniz@redhat.com> | 2023-06-20 15:32:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-20 15:32:18 +0200 |
commit | fb8fadc7f9f3e357d6e5db54748ad65a9559c2c6 (patch) | |
tree | b8069d9e62c613a5967b660aaab207d202832803 | |
parent | Fix PR and issue labeler job permissions (#14134) (diff) | |
download | awx-fb8fadc7f9f3e357d6e5db54748ad65a9559c2c6.tar.xz awx-fb8fadc7f9f3e357d6e5db54748ad65a9559c2c6.zip |
Add new ANSIBLE_COLLECTIONS_PATH in preparation for deprecation of plural version (#14079)
-rw-r--r-- | awx/main/tasks/jobs.py | 1 |
1 files changed, 1 insertions, 0 deletions
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))) |