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
unarchive module can't find file but it exist #31926
Comments
It also affects "copy" module whith the same error. So if I replace "unarchive" with "shell: tar xvzf" and "copy" with "shell: cp" everything works fine. |
Have you read what https://docs.ansible.com/ansible/latest/unarchive_module.html has to say about the |
Please close since is not a bug |
Possible MisunderstandingHi! Thanks very much for your submission to Ansible. It sincerely means a lot to us. We believe the ticket you have filed is being somewhat misunderstood, as one thing works a little differently than stated. In the future, this might be a topic more well suited for the user list, which you can also post here if you'd like some more help with the above. Thank you once again for this and your interest in Ansible! |
Same problem here.
The unarchive works if i run directly on remote server
|
same problem , but I have a good result with
|
all you need to do is add remote_src: yes on the bottom. |
ISSUE TYPE
COMPONENT NAME
unarchive
ANSIBLE VERSION
CONFIGURATION
DEFAULT_PRIVATE_KEY_FILE(/etc/ansible/ansible.cfg) = /home/winmasta/.ssh/kireva_ans
DEFAULT_VAULT_PASSWORD_FILE(env: ANSIBLE_VAULT_PASSWORD_FILE) = /home/winmasta/vault_pass.txt
HOST_KEY_CHECKING(/etc/ansible/ansible.cfg) = False
OS / ENVIRONMENT
running OS: Linux 4.10.0-37-generic #41~16.04.1-Ubuntu SMP Fri Oct 6 22:42:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
managing OS: Ubuntu server 16.04.3 x64
SUMMARY
unarchive module can't find the file but it exist
STEPS TO REPRODUCE
EXPECTED RESULTS
Expect no errors.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: