diff options
author | Matt Martz <matt@sivel.net> | 2018-09-12 09:28:54 -0500 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2018-09-25 15:57:46 -0700 |
commit | e7740b80fd30a456779f0a8cf86a67d672309e5c (patch) | |
tree | fd50d6df214d0a82249210ba621f6a0faed1148f /changelogs | |
parent | 395b30c61793c4d7652df6955c4cf28810550126 (diff) | |
download | ansible-e7740b80fd30a456779f0a8cf86a67d672309e5c.tar.gz |
[stable-2.6] [stable-2.7] Fix logic to not re-download existing files when force=no (#45495) (#45509)
* [stable-2.7] Fix logic to not re-download existing files when force=no (#45495)
* Fix logic to not re-download existing files when force=no. Fixes #45491
* Reduce logic complexity.
(cherry picked from commit 5785de582f99c13d02cb1dbb03af76cacdb5182d)
Co-authored-by: Matt Martz <matt@sivel.net>
* Backport of get_url fix cannot use result
result was only added in 2.8+.
(cherry picked from commit 99171a9c6f6029716f93eee92a149b5afe622cf1)
Co-authored-by: Matt Martz <matt@sivel.net>
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/fragments/get-url-fix-idempotency.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/changelogs/fragments/get-url-fix-idempotency.yaml b/changelogs/fragments/get-url-fix-idempotency.yaml new file mode 100644 index 0000000000..c09c6d8acd --- /dev/null +++ b/changelogs/fragments/get-url-fix-idempotency.yaml @@ -0,0 +1,2 @@ +bugfixes: +- get_url - Don't re-download files unnecessarily when force=no (https://github.com/ansible/ansible/issues/45491) |