Remove ANSIBLE_COLLECTIONS_PATHS dep warning (#71094) (#71099)

(cherry picked from commit aab9beccf7)
This commit is contained in:
Jordan Borean 2020-08-28 04:26:17 +10:00 committed by GitHub
parent e33fff922a
commit 4b1df6cc05
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 9 deletions

View file

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

View file

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