download loki binaries on the target system

this has the downside of taking up a bit of space,
but at least this makes the role more idempotent when it comes
to re-running it from different control nodes (e.g. in CI)
This commit is contained in:
Waldek Maleska 2021-02-24 16:03:06 +00:00
parent 765a12dadd
commit 77e65a5780
No known key found for this signature in database
GPG Key ID: 8667A0662654167A

View File

@ -49,7 +49,6 @@
retries: 5
delay: 2
loop: "{{ loki_bins }}"
delegate_to: localhost
check_mode: false
- name: unpack binaries
@ -59,7 +58,6 @@
dest: "/tmp"
creates: "/tmp/{{ item }}-{{ loki_version }}-linux-{{ go_arch }}"
loop: "{{ loki_bins }}"
delegate_to: localhost
check_mode: false
- name: propagate official binaries
@ -69,6 +67,7 @@
mode: 0755
owner: root
group: root
remote_src: true
loop: "{{ loki_bins }}"
notify:
- restart loki