You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/files
Lucas Costa Beyeler 5559e6a669 Fix #4202: Can't unarchive remote files (#4244)
When you try to remote unarchive files with the option copy=no the code always fail, as evidenced in issue #4202. That happens because the conditional to check "if remote_src=no or copy=yes" will always be true since the default value of them is remote_src=no and copy=yes.
My modification is only to change the condition from or to and, that way only if both the vars stay with the default value will be true, otherwise you can unarchive remote files.
8 years ago
..
__init__.py package files 10 years ago
acl.py Convert the whole files/ directory to py3 syntax (#3685) 8 years ago
assemble.py unsafe writes! (#4314) 8 years ago
copy.py unsafe writes! (#4314) 8 years ago
fetch.py Fix grammar in docs for fetch 'fail_on_missing' (#3872) 8 years ago
file.py file module: add clarification on state=absent re files that do not exist. 8 years ago
find.py removed 'overquoting' of example 9 years ago
ini_file.py also match on tabs in ini_file (fixes #106) (#4067) 8 years ago
lineinfile.py unsafe writes! (#4314) 8 years ago
replace.py unsafe writes! (#4314) 8 years ago
stat.py added read-/write-/executeable flags for invoking user (#4130) 8 years ago
synchronize.py Be explicit about specifying the ssh port if it was user specified (#4302) 8 years ago
template.py restored incorrectly removed docs, jinja2 override 8 years ago
unarchive.py Fix #4202: Can't unarchive remote files (#4244) 8 years ago
xattr.py Convert the whole files/ directory to py3 syntax (#3685) 8 years ago