Closed eric-b-hymowitz closed 5 years ago
@eric-b-hymowitz
Given the not very big impact of this, I think it could just be a feature request issue, instead of an actual proposals. Proposals are for requests with much bigger impact and scope.
That said, I have been in a similar situation ( that's why you now can use ansible_ssh_executable
:) ), so I'd be ok adding those 2 variables.
Proposal: sftp_executable , scp_executable
Author: Eric B. Hymowitz <@eric-b-hymowitz>
Date: 2018-08-07
Motivation
My system uses an outdated version of
openssh
and I cannot update it. I need to use extra ssh_configuration features with ansible that are not available with the system-standardssh
. I can set theansible_ssh_executable
variable to use a differentssh
program than the system's standard, but I cannot do the same forscp
andsftp
. This results in errors when the system-standardsftp
/scp
programs try to use the config file that only works with my updatedansible_ssh_executable
.Problems
My system uses an outdated version of
openssh
and I cannot update it. I need to use extra ssh_configuration features with ansible that are not available with the system-standardssh
. I can set theansible_ssh_executable
variable to use a differentssh
program than the system's standard, but I cannot do the same forscp
andsftp
. This results in errors when the system-standardsftp
/scp
programs try to use the config file that only works with my updatedansible_ssh_executable
.Solution proposal
Analagous to the
ansible_ssh_executable
variable, there should be aansible_scp_executable
variable and aansible_sftp_executable
variable.