Remove ANSIBLE_COLLECTIONS_PATHS dep warning (#71094)

This commit is contained in:
Jordan Borean 2020-08-05 07:38:35 +10:00 committed by GitHub
parent f9af27c631
commit aab9beccf7
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 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'