Add new ANSIBLE_COLLECTIONS_PATH in preparation for deprecation of plural version (#14079)

This commit is contained in:
Gabriel Muniz 2023-06-20 09:32:18 -04:00 committed by GitHub
parent ba99ddfd82
commit fb8fadc7f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)))