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 72f31b8d802..70d302f6a73 100644 --- a/lib/ansible/config/base.yml +++ b/lib/ansible/config/base.yml @@ -1551,6 +1551,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'