Deprecated host_key_checking option

* User can set host_key_checking configuration from
  connection plugins such as ssh and paramiko_ssh itself.
  Deprecate host_key_checking from global configuration.

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
pull/84276/head
Abhijeet Kasurde 2 weeks ago
parent 1d61f2a4fd
commit 0e2bd66b48

@ -0,0 +1,3 @@
---
bugfixes:
- config - deprecate host_key_checking from the global configuration.

@ -1538,7 +1538,6 @@ GALAXY_COLLECTION_IMPORT_POLL_FACTOR:
version_added: "2.18" version_added: "2.18"
HOST_KEY_CHECKING: HOST_KEY_CHECKING:
# NOTE: constant not in use by ssh/paramiko plugins anymore, but they do support the same configuration sources # NOTE: constant not in use by ssh/paramiko plugins anymore, but they do support the same configuration sources
# TODO: check non ssh connection plugins for use/migration
name: Toggle host/key check name: Toggle host/key check
default: True default: True
description: description:
@ -1548,6 +1547,10 @@ HOST_KEY_CHECKING:
ini: ini:
- {key: host_key_checking, section: defaults} - {key: host_key_checking, section: defaults}
type: boolean type: boolean
deprecated:
why: This option was moved to the individual plugin itself
version: "2.22"
alternatives: Use the option from the plugin itself.
HOST_PATTERN_MISMATCH: HOST_PATTERN_MISMATCH:
name: Control host pattern mismatch behaviour name: Control host pattern mismatch behaviour
default: 'warning' default: 'warning'

Loading…
Cancel
Save