-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Build on Fedora 42 - sftp transfer mechanism failed
This warning/error appears specifically on F42, on F41 and earlier versions not.
...
[WARNING]: sftp transfer mechanism failed on [127.0.0.1]. Use ANSIBLE_DEBUG=1
...
bash: line 1: /usr/lib/sftp-server: No such file or directory
...
To fix it, it is necessary to add additional Ansible var ANSIBLE_SSH_TRANSFER_METHOD to use scp protocol, like this:
...
ansible_env_vars = [
"ANSIBLE_PIPELINING=True",
"ANSIBLE_REMOTE_TEMP=/tmp",
"ANSIBLE_SSH_TRANSFER_METHOD=scp",
"ANSIBLE_SCP_EXTRA_ARGS=-O",
]
...Expected Behavior
No response
Steps To Reproduce
No response
Anything else?
No response
Search terms
sftp transfer mechanism failed
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working