diff --git a/changelogs/fragments/galaxy_collections_paths-remove-dep.yml b/changelogs/fragments/galaxy_collections_paths-remove-dep.yml new file mode 100644 index 00000000000..b8ddb570506 --- /dev/null +++ b/changelogs/fragments/galaxy_collections_paths-remove-dep.yml @@ -0,0 +1,2 @@ +bugfixes: +- ANSIBLE_COLLECTIONS_PATHS - remove deprecation so that users of Ansible 2.9 and 2.10+ can use the same var when specifying a collection path without a warning. diff --git a/lib/ansible/config/base.yml b/lib/ansible/config/base.yml index 86653d7b126..f739905bde6 100644 --- a/lib/ansible/config/base.yml +++ b/lib/ansible/config/base.yml @@ -233,20 +233,12 @@ COLLECTIONS_PATHS: default: ~/.ansible/collections:/usr/share/ansible/collections type: pathspec env: - - name: ANSIBLE_COLLECTIONS_PATHS - deprecated: - why: all PATH-type options are singular PATH - version: "2.14" - alternatives: the "ANSIBLE_COLLECTIONS_PATH" environment variable + - name: ANSIBLE_COLLECTIONS_PATHS # TODO: Deprecate this and ini once PATH has been in a few releases. - name: ANSIBLE_COLLECTIONS_PATH version_added: '2.10' ini: - key: collections_paths section: defaults - deprecated: - why: all path-type options are singular path - version: "2.14" - alternatives: the "collections_path" ini setting - key: collections_path section: defaults version_added: '2.10'