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

(cherry picked from commit aab9beccf7)
pull/71105/head
Jordan Borean 4 years ago committed by GitHub
parent e33fff922a
commit 4b1df6cc05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -233,20 +233,12 @@ COLLECTIONS_PATHS:
default: ~/.ansible/collections:/usr/share/ansible/collections default: ~/.ansible/collections:/usr/share/ansible/collections
type: pathspec type: pathspec
env: env:
- name: ANSIBLE_COLLECTIONS_PATHS - name: ANSIBLE_COLLECTIONS_PATHS # TODO: Deprecate this and ini once PATH has been in a few releases.
deprecated:
why: all PATH-type options are singular PATH
version: "2.14"
alternatives: the "ANSIBLE_COLLECTIONS_PATH" environment variable
- name: ANSIBLE_COLLECTIONS_PATH - name: ANSIBLE_COLLECTIONS_PATH
version_added: '2.10' version_added: '2.10'
ini: ini:
- key: collections_paths - key: collections_paths
section: defaults section: defaults
deprecated:
why: all path-type options are singular path
version: "2.14"
alternatives: the "collections_path" ini setting
- key: collections_path - key: collections_path
section: defaults section: defaults
version_added: '2.10' version_added: '2.10'

Loading…
Cancel
Save