summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Coca <bcoca@users.noreply.github.com>2023-09-21 21:47:53 +0200
committerGitHub <noreply@github.com>2023-09-21 21:47:53 +0200
commit9edf64eaeb2d4356612a601dc74883698a060af9 (patch)
treed87021c787c6427aa92d750669c8a0b9bea904fc
parentAllow for searching handler subdir for included task via include_role (#81733) (diff)
downloadansible-9edf64eaeb2d4356612a601dc74883698a060af9.tar.xz
ansible-9edf64eaeb2d4356612a601dc74883698a060af9.zip
Deprecating paramiko options in base config (#81593)
* Deprecating paramiko options in base config they exist in the plugin itself since 2.14 * clog
-rw-r--r--changelogs/fragments/paramiko_globals.yml3
-rw-r--r--lib/ansible/config/base.yml9
2 files changed, 11 insertions, 1 deletions
diff --git a/changelogs/fragments/paramiko_globals.yml b/changelogs/fragments/paramiko_globals.yml
new file mode 100644
index 0000000000..1a3b1da3a2
--- /dev/null
+++ b/changelogs/fragments/paramiko_globals.yml
@@ -0,0 +1,3 @@
+deprecated_features:
+ - paramiko connection plugin, configuration items in the global scope are being deprecated and will be removed in favor or the existing same options in the plugin itself.
+ Users should not need to change anything (how to configure them are the same) but plugin authors using the global constants should move to using the plugin's get_option().
diff --git a/lib/ansible/config/base.yml b/lib/ansible/config/base.yml
index 3b795553eb..bf1f56b502 100644
--- a/lib/ansible/config/base.yml
+++ b/lib/ansible/config/base.yml
@@ -1793,13 +1793,16 @@ PAGER:
version_added: '2.15'
- name: PAGER
PARAMIKO_HOST_KEY_AUTO_ADD:
- # TODO: move to plugin
default: False
description: 'TODO: write it'
env: [{name: ANSIBLE_PARAMIKO_HOST_KEY_AUTO_ADD}]
ini:
- {key: host_key_auto_add, section: paramiko_connection}
type: boolean
+ deprecated:
+ why: This option was moved to the plugin itself
+ version: "2.20"
+ alternatives: Use the option from the plugin itself.
PARAMIKO_LOOK_FOR_KEYS:
name: look for keys
default: True
@@ -1808,6 +1811,10 @@ PARAMIKO_LOOK_FOR_KEYS:
ini:
- {key: look_for_keys, section: paramiko_connection}
type: boolean
+ deprecated:
+ why: This option was moved to the plugin itself
+ version: "2.20"
+ alternatives: Use the option from the plugin itself.
PERSISTENT_CONTROL_PATH_DIR:
name: Persistence socket path
default: '{{ ANSIBLE_HOME ~ "/pc" }}'