mirror of https://github.com/ansible/ansible.git
2.8 Core Deprecation Removal (#45232)
* Remove deprecated ansible.vars.unsafe_proxy. Fixes #45040 * Remove deprecated validate_md5 alias from fetch module. Fixes #45039 * Remove deprecated private arg from import/include_role. Fixes #45038 * All include deprecations bumped to 2.12. Fixes #45037 * Add changelog for deprecated removalspull/45445/head
parent
99aafcc8ca
commit
0015d4cef3
@ -0,0 +1,4 @@
|
|||||||
|
minor_changes:
|
||||||
|
- ansible.vars.unsafe_proxy - Removed deprecated file (https://github.com/ansible/ansible/issues/45040)
|
||||||
|
- fetch - Removed deprecated validate_md5 alias (https://github.com/ansible/ansible/issues/45039)
|
||||||
|
- include_role/import_role - Removed deprecated private argument (https://github.com/ansible/ansible/issues/45038)
|
@ -1,31 +0,0 @@
|
|||||||
# (c) 2017, Toshio Kuratomi <tkuratomi@ansible.com>
|
|
||||||
#
|
|
||||||
# This file is part of Ansible
|
|
||||||
#
|
|
||||||
# Ansible is free software: you can redistribute it and/or modify
|
|
||||||
# it under the terms of the GNU General Public License as published by
|
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
|
||||||
# (at your option) any later version.
|
|
||||||
#
|
|
||||||
# Ansible is distributed in the hope that it will be useful,
|
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
# Make coding more python3-ish
|
|
||||||
from __future__ import (absolute_import, division, print_function)
|
|
||||||
__metaclass__ = type
|
|
||||||
|
|
||||||
# This is backwards compat. unsafe_proxy was moved to avoid circular imports.
|
|
||||||
from ansible.utils.unsafe_proxy import * # pylint: disable=wildcard-import,unused-wildcard-import
|
|
||||||
|
|
||||||
try:
|
|
||||||
from __main__ import display
|
|
||||||
except:
|
|
||||||
from ansible.utils.display import Display
|
|
||||||
display = Display()
|
|
||||||
|
|
||||||
display.deprecated('ansible.vars.unsafe_proxy is deprecated. Use ansible.utils.unsafe_proxy instead.', version='2.8')
|
|
Loading…
Reference in New Issue