Skip to content

Commit

Permalink
Use force=True to set cache-control (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
cachedout authored Aug 18, 2021
1 parent ba4e0a2 commit 7971ca7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/common/tasks/download.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- name: Download package with checksum (linux/darwin)
vars:
- beat_sha512: "{{ lookup('url', beat_url + '.sha512?ignoreCache=1', split_lines=False) | trim }}"
- beat_sha512: "{{ lookup('url', beat_url + '.sha512', split_lines=False, force=True) | trim }}"
get_url:
url: "{{beat_url}}"
dest: "{{workdir}}"
Expand All @@ -11,7 +11,7 @@

- name: Download package with checksum (windows)
vars:
- win_beat_sha512: "{{ lookup('url', beat_url + '.sha512?ignoreCache=1', split_lines=False) | trim }}"
- win_beat_sha512: "{{ lookup('url', beat_url + '.sha512', split_lines=False, force=True) | trim }}"
win_get_url:
url: "{{beat_url}}"
dest: "{{workdir}}"
Expand Down

0 comments on commit 7971ca7

Please sign in to comment.