diff --git a/changelogs/fragments/deprecate_host_key_checking.yml b/changelogs/fragments/deprecate_host_key_checking.yml new file mode 100644 index 00000000000..b1e4e93c1bb --- /dev/null +++ b/changelogs/fragments/deprecate_host_key_checking.yml @@ -0,0 +1,3 @@ +--- +deprecated_features: + - config - deprecate host_key_checking from the global configuration. diff --git a/lib/ansible/config/base.yml b/lib/ansible/config/base.yml index dc05c15544a..b714b3182ce 100644 --- a/lib/ansible/config/base.yml +++ b/lib/ansible/config/base.yml @@ -1657,6 +1657,10 @@ HOST_KEY_CHECKING: ini: - {key: host_key_checking, section: defaults} 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: name: Control host pattern mismatch behaviour default: 'warning'