-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
aws_s3: "src" always looking locally for files. #38656
Comments
Files identified in the description: If these files are inaccurate, please update the |
Can you provide the results of running under We probably need to think about how we combine the |
|
I'm seeing the same behavior in Ansible |
ISSUE TYPE
COMPONENT NAME
aws_s3
ANSIBLE VERSION
CONFIGURATION
HOST_KEY_CHECKING(/etc/ansible/ansible.cfg) = False
OS / ENVIRONMENT
Ansible host: Ubuntu 16.04 TLS
Remote host: Ubuntu 16.04 TLS
SUMMARY
The aws_s3 PUT mode used in a playbook looks for the src file locally, not remote.
STEPS TO REPRODUCE
Create file on remote machine: /home/ansible-user/test.txt
EXPECTED RESULTS
test.txt gets uploaded to bucket.
ACTUAL RESULTS
"File cannot be found or accessed."
Creating the file locally in the same location results in the file being found.
This does not happen with the deprecated "s3". Some old entries hint at a setting called something along the lines of "src_remote: true" in terms of aws modules, but nothing in the current documentation seems to corroborate that point.
The text was updated successfully, but these errors were encountered: