Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecate scp_if_ssh #75218

Merged
merged 5 commits into from Nov 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions changelogs/fragments/deprecate_scp_if_ssh.yml
@@ -0,0 +1,2 @@
deprecated_features:
- ssh connection plugin option scp_if_ssh in favor of ssh_transfer_method.
4 changes: 4 additions & 0 deletions lib/ansible/plugins/connection/ssh.py
Expand Up @@ -284,6 +284,10 @@
- name: ansible_ssh_transfer_method
version_added: '2.12'
scp_if_ssh:
deprecated:
why: In favor of the "ssh_transfer_method" option.
version: "2.17"
alternatives: ssh_transfer_method
default: smart
description:
- "Preferred method to use when transfering files over ssh"
Expand Down