From 54cdaedfbca4c1978ff87a2e9a84bd265463fe82 Mon Sep 17 00:00:00 2001 From: Martin Krizek Date: Thu, 9 Apr 2026 08:13:37 +0200 Subject: [PATCH] Remove deprecated ANSIBLE_CONNECTION_PATH option (#86791) --- .../remove-deprecated-connection-path.yml | 2 ++ lib/ansible/config/base.yml | 15 --------------- 2 files changed, 2 insertions(+), 15 deletions(-) create mode 100644 changelogs/fragments/remove-deprecated-connection-path.yml diff --git a/changelogs/fragments/remove-deprecated-connection-path.yml b/changelogs/fragments/remove-deprecated-connection-path.yml new file mode 100644 index 00000000000..ad5e1639835 --- /dev/null +++ b/changelogs/fragments/remove-deprecated-connection-path.yml @@ -0,0 +1,2 @@ +removed_features: + - Remove deprecated ``ANSIBLE_CONNECTION_PATH`` option diff --git a/lib/ansible/config/base.yml b/lib/ansible/config/base.yml index 2f4f9f73d37..edc5e803a48 100644 --- a/lib/ansible/config/base.yml +++ b/lib/ansible/config/base.yml @@ -104,21 +104,6 @@ ANSIBLE_HOME: section: defaults type: path version_added: '2.14' -ANSIBLE_CONNECTION_PATH: - name: Path of ansible-connection script - default: null - description: - - Specify where to look for the ansible-connection script. This location will be checked before searching $PATH. - - If null, ansible will start with the same directory as the ansible script. - type: path - env: [{name: ANSIBLE_CONNECTION_PATH}] - ini: - - {key: ansible_connection_path, section: persistent_connection} - yaml: {key: persistent_connection.ansible_connection_path} - version_added: "2.8" - deprecated: - why: This setting has no effect. - version: "2.22" ANSIBLE_COW_SELECTION: name: Cowsay filter selection default: default